mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Add wait method to ASCollectionNode (#2416)
This commit is contained in:
@@ -159,6 +159,11 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
*/
|
||||
- (void)performBatchUpdates:(nullable __attribute((noescape)) void (^)())updates completion:(nullable void (^)(BOOL finished))completion;
|
||||
|
||||
/**
|
||||
* Blocks execution of the main thread until all section and item updates are committed to the view. This method must be called from the main thread.
|
||||
*/
|
||||
- (void)waitUntilAllUpdatesAreCommitted;
|
||||
|
||||
/**
|
||||
* Inserts one or more sections.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user