RBPropertyListTracker Class Reference
Inherits from | NSObject |
---|---|
Declared in | RBPropertyListTracker.h |
Overview
Tracks the changes made to a property list (root being a dictionary), allowing the latest changes to be processed on demand.
latestValue
The latest value including pending changes.
@property (nonatomic, readonly, nullable) NSDictionary<NSString*id> *latestValue
Discussion
The latest value including pending changes.
Declared In
RBPropertyListTracker.h
currentValue
The latest value of processed changes. Does not include unprocessed changes.
@property (nonatomic, readonly, nullable) NSDictionary<NSString*id> *currentValue
Discussion
The latest value of processed changes. Does not include unprocessed changes.
Declared In
RBPropertyListTracker.h
pendingChanges
Changes that are pending being processed.
@property (nonatomic, readonly, nullable) NSDictionary<NSString*id> *pendingChanges
Discussion
Changes that are pending being processed.
Declared In
RBPropertyListTracker.h
– pushChanges:
Pushes a set of changes and merges these with the current set. This allows cumulative changes to be applied.
- (BOOL)pushChanges:(nullable NSDictionary<NSString*,id> *)changes
Parameters
changes |
The change set to merge. |
---|
Return Value
Whether the change was successfully pushed.
Discussion
Pushes a set of changes and merges these with the current set. This allows cumulative changes to be applied.
Declared In
RBPropertyListTracker.h
– processChanges
Process and merge the unprocessed changes that have been pushed.
- (void)processChanges
Discussion
Process and merge the unprocessed changes that have been pushed.
Declared In
RBPropertyListTracker.h