[ASDataController] Simplify data controller (#2923)

* Start removing ASChangeSetDataController

* Continue removing ASChangeSetDataController

* Remove unnecessary change

* ASDataController is no longer an abstract class, remove its assertion

* Get back beginUpdates and endUpdatesAnimated:completion in ASCollectionNode
This commit is contained in:
Huy Nguyen
2017-01-24 17:41:19 -08:00
committed by Adlai Holler
parent 70c48ba906
commit 38f1efd448
16 changed files with 257 additions and 345 deletions

View File

@@ -529,7 +529,7 @@
- (void)beginUpdates
{
[self.dataController beginUpdates];
[self.view beginUpdates];
}
- (void)endUpdatesAnimated:(BOOL)animated
@@ -539,7 +539,7 @@
- (void)endUpdatesAnimated:(BOOL)animated completion:(void (^)(BOOL))completion
{
[self.dataController endUpdatesAnimated:animated completion:completion];
[self.view endUpdatesAnimated:animated completion:completion];
}
- (void)insertSections:(NSIndexSet *)sections