Implement ASChangeSetDataController.

This commit is contained in:
Huy Nguyen
2015-10-19 22:08:34 +03:00
parent 7a97c5ca00
commit 5ea4b1b92d
10 changed files with 648 additions and 5 deletions

View File

@@ -9,7 +9,7 @@
#import "ASTableView.h"
#import "ASAssert.h"
#import "ASDataController.h"
#import "ASChangeSetDataController.h"
#import "ASCollectionViewLayoutController.h"
#import "ASLayoutController.h"
#import "ASRangeController.h"
@@ -210,7 +210,7 @@ void ASPerformBlockWithoutAnimation(BOOL withoutAnimation, void (^block)()) {
_rangeController.layoutController = _layoutController;
_rangeController.delegate = self;
_dataController = [[ASDataController alloc] initWithAsyncDataFetching:asyncDataFetchingEnabled];
_dataController = [[ASChangeSetDataController alloc] initWithAsyncDataFetching:asyncDataFetchingEnabled];
_dataController.dataSource = self;
_dataController.delegate = _rangeController;