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

@@ -280,9 +280,10 @@ static BOOL _isInterceptedSelector(SEL sel)
[self reloadDataWithCompletion:nil];
}
- (void)reloadDataAndWait
- (void)reloadDataImmediatelyWithAnimationOptions:(ASDataControllerAnimationOptions)animationOptions
{
[_dataController reloadDataAndWait];
ASDisplayNodeAssertMainThread();
[_dataController reloadDataImmediatelyWithAnimationOptions:animationOptions];
[super reloadData];
}