Revert "Revert commit 83aaa46, thus bring 2e4d716 back"

This reverts commit 209425c22c.
This commit is contained in:
Huy Nguyen
2016-01-26 12:05:02 -08:00
parent 8a6b7cff97
commit 56c6bd681b
7 changed files with 35 additions and 178 deletions

View File

@@ -276,17 +276,4 @@
});
}
- (void)dataControllerDidReloadData:(ASDataController *)dataController
{
ASPerformBlockOnMainThread(^{
_rangeIsValid = NO;
// When reload data we need to make sure that _rangeTypeIndexPaths is cleared as well,
// otherwise _updateVisibleNodeIndexPaths may try to retrieve nodes from dataSource that aren't there anymore
[_rangeTypeIndexPaths removeAllObjects];
[_delegate rangeControllerDidReloadData:self];
});
}
@end