Clean up supplementary nodes in data controller store on each reload

This commit is contained in:
Levi McCallum
2015-10-06 09:28:54 -07:00
parent 5839e5bf3e
commit b58649fdcb
3 changed files with 31 additions and 1 deletions

View File

@@ -32,9 +32,21 @@
/**
* Subclasses can override this to reload data after the abstract data controller deletes its old data and before it reloads the new.
*
* @discussion Invoked on the editing transaction queue.
*/
- (void)willReloadData;
/**
* Provides a collection of index paths for nodes of the given kind that are currently in the editing store
*/
- (NSArray *)indexPathsForEditingNodesOfKind:(NSString *)kind;
/**
* Read-only access to the underlying editing nodes of the given kind
*/
- (NSArray *)editingNodesOfKind:(NSString *)kind;
/**
* Read only access to the underlying completed nodes of the given kind
*/