ASDataController now handles reloadData more efficiently and notify its delegate once instead of a series of deletes and inserts

This commit is contained in:
Huy Nguyen
2016-01-20 17:50:01 -08:00
parent 3aceabbbf9
commit 2e4d716e0b
8 changed files with 179 additions and 36 deletions

View File

@@ -190,6 +190,13 @@ NS_ASSUME_NONNULL_BEGIN
*/
- (void)rangeController:(ASRangeController *)rangeController didDeleteSectionsAtIndexSet:(NSIndexSet *)indexSet withAnimationOptions:(ASDataControllerAnimationOptions)animationOptions;
/**
* Called for data reload.
*
* @param rangeController Sender.
*/
- (void)rangeControllerDidReloadData:(ASRangeController *)rangeController;
@end
NS_ASSUME_NONNULL_END