WIP synchronous reload data on collection view

This commit is contained in:
Levi McCallum
2015-10-22 08:53:24 -07:00
committed by Levi McCallum
parent a88ad0a848
commit c33d6efa8a
22 changed files with 1216 additions and 1 deletions

View File

@@ -280,6 +280,12 @@ static BOOL _isInterceptedSelector(SEL sel)
[self reloadDataWithCompletion:nil];
}
- (void)reloadDataAndWait
{
[_dataController reloadDataAndWait];
[super reloadData];
}
- (void)setDataSource:(id<UICollectionViewDataSource>)dataSource
{
// UIKit can internally generate a call to this method upon changing the asyncDataSource; only assert for non-nil.