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

@@ -131,7 +131,13 @@
*/
- (void)reloadData;
- (void)reloadDataAndWait;
/**
* 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 UICollectionView's version and will block the main thread
* while all the cells load.
*/
- (void)reloadDataImmediately;
/**
* Registers the given kind of supplementary node for use in creating node-backed supplementary views.