mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-02-10 13:06:33 +00:00
[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user