Index

RBPropertyListTracker.h

Classes


RBPropertyListTracker

Tracks the changes made to a property list (root being a dictionary), allowing the latest changes to be processed on demand.

Properties

The latest value including pending changes.
public latestValue [String : Any]? { get }

The latest value of processed changes. Does not include unprocessed changes.
public currentValue [String : id]? { get }

Changes that are pending being processed.
public pendingChanges [String : id]? { get }

Functions

Pushes a set of changes and merges these with the current set. This allows cumulative changes to be applied.
@param changes : The change set to merge.
@returns Whether the change was successfully pushed.
- (BOOL)pushChanges:(nullable NSDictionary<NSString *, id> *)changes;