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

Declared In

RBPropertyListTracker.h

  currentValue

The latest value of processed changes. Does not include unprocessed changes.

@property (nonatomic, readonly, nullable) NSDictionary<NSString*id> *currentValue

Declared In

RBPropertyListTracker.h

  pendingChanges

Changes that are pending being processed.

@property (nonatomic, readonly, nullable) NSDictionary<NSString*id> *pendingChanges

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.

Declared In

RBPropertyListTracker.h

– processChanges

Process and merge the unprocessed changes that have been pushed.

- (void)processChanges

Declared In

RBPropertyListTracker.h