remove program

This commit is contained in:
Li Tan
2015-02-04 14:42:09 -08:00
parent f8037d435e
commit 25bdd0d84d
6 changed files with 148 additions and 136 deletions

View File

@@ -216,10 +216,6 @@ static BOOL _isInterceptedSelector(SEL sel)
return visibleNodes;
}
#pragma mark -
#pragma mark Assertions
- (void)beginUpdates
{
[_dataController beginUpdates];
@@ -360,10 +356,14 @@ static BOOL _isInterceptedSelector(SEL sel)
[super beginUpdates];
}
- (void)rangeControllerEndUpdates:(ASRangeController *)rangeController
- (void)rangeControllerEndUpdates:(ASRangeController *)rangeController completion:(void (^)(BOOL))completion
{
ASDisplayNodeAssertMainThread();
[super endUpdates];
if (completion) {
completion(YES);
}
}
- (NSArray *)rangeControllerVisibleNodeIndexPaths:(ASRangeController *)rangeController