Implement basic immediate reloadData method on table and collection view

This commit is contained in:
Levi McCallum
2015-10-22 21:15:08 -07:00
parent c33d6efa8a
commit 722b90f1cf
8 changed files with 61 additions and 52 deletions

View File

@@ -93,6 +93,14 @@
*/
- (void)reloadData;
/**
* Reload everything from scratch entirely on the main thread, destroying the working range and all cached nodes.
*
* @warning This method is substantially more expensive than UITableView's version and will block the main thread while
* all the cells load.
*/
- (void)reloadDataImmediately;
/**
* begins a batch of insert, delete reload and move operations. This method must be called from the main thread.
*/