Fix build-break.

This commit is contained in:
Nadine Salter
2015-01-20 12:16:30 -08:00
parent 978cf85ae1
commit 7542f7ca17
2 changed files with 6 additions and 2 deletions

View File

@@ -352,6 +352,12 @@ static BOOL _isInterceptedSelector(SEL sel)
#pragma mark - #pragma mark -
#pragma mark ASRangeControllerDelegate. #pragma mark ASRangeControllerDelegate.
- (void)rangeControllerBeginUpdates:(ASRangeController *)rangeController {
}
- (void)rangeControllerEndUpdates:(ASRangeController *)rangeController {
}
- (NSArray *)rangeControllerVisibleNodeIndexPaths:(ASRangeController *)rangeController - (NSArray *)rangeControllerVisibleNodeIndexPaths:(ASRangeController *)rangeController
{ {
ASDisplayNodeAssertMainThread(); ASDisplayNodeAssertMainThread();

View File

@@ -294,9 +294,7 @@
- (void)dataController:(ASDataController *)dataController willDeleteSectionsAtIndexSet:(NSIndexSet *)indexSet withAnimationOption:(ASDataControllerAnimationOptions)animationOption { - (void)dataController:(ASDataController *)dataController willDeleteSectionsAtIndexSet:(NSIndexSet *)indexSet withAnimationOption:(ASDataControllerAnimationOptions)animationOption {
ASDisplayNodePerformBlockOnMainThread(^{ ASDisplayNodePerformBlockOnMainThread(^{
if ([_delegate respondsToSelector:@selector(rangeController:willDeleteSectionsAtIndexSet:)]) {
[_delegate rangeController:self didDeleteSectionsAtIndexSet:indexSet withAnimationOption:animationOption]; [_delegate rangeController:self didDeleteSectionsAtIndexSet:indexSet withAnimationOption:animationOption];
}
}); });
} }