expose beginUpdates and endUpdates

This commit is contained in:
Bin Liu
2016-01-27 10:50:30 -08:00
parent f696eb7476
commit 263bb311f2
4 changed files with 19 additions and 0 deletions

View File

@@ -396,6 +396,11 @@ static NSString * const kCellReuseIdentifier = @"_ASCollectionViewCell";
#pragma mark Assertions.
- (ASDataController *)dataController
{
return _dataController;
}
- (void)performBatchAnimated:(BOOL)animated updates:(void (^)())updates completion:(void (^)(BOOL))completion
{
ASDisplayNodeAssertMainThread();