mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Clean up supplementary nodes in data controller store on each reload
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user