mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
[ASWrapperCellNode] Introduce a new class allowing more control of UIKit passthrough cells. (#797)
* - [ASWrapperCellNode] Introduce a new class allowing more control of UIKit passthrough cells. A few minor fixes to Collections behavior as well, including a new isSynchronized API. The difference from processingUpdates is that after Synchronized, all animations have also completed (or runloop turn if animations disabled, so .collectionViewLayout can be relied on being fully in sync). More upstreaming to come after this can land... * Fix -[ASDataController clearData] to take no action before initial data loading. * Empty commit to kick CI * Spacing change to kick CI (since an empty commit doesn't work...) * Tweak ASDataController changes to handle an edge case in _editingTransactionQueueCount management. * Avoid excess cyclic calls to onDidFinishProcessingUpdates: by avoiding ASMainSerialQueue. * Reverting my initial change as it wasn't the right approach, following the real fix before this.
This commit is contained in:
@@ -296,9 +296,15 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
* See ASCollectionNode.h for full documentation of these methods.
|
||||
*/
|
||||
@property (nonatomic, readonly) BOOL isProcessingUpdates;
|
||||
- (void)onDidFinishProcessingUpdates:(nullable void (^)(void))completion;
|
||||
- (void)onDidFinishProcessingUpdates:(void (^)(void))completion;
|
||||
- (void)waitUntilAllUpdatesAreCommitted ASDISPLAYNODE_DEPRECATED_MSG("Use -[ASCollectionNode waitUntilAllUpdatesAreProcessed] instead.");
|
||||
|
||||
/**
|
||||
* See ASCollectionNode.h for full documentation of these methods.
|
||||
*/
|
||||
@property (nonatomic, readonly, getter=isSynchronized) BOOL synchronized;
|
||||
- (void)onDidFinishSynchronizing:(void (^)(void))completion;
|
||||
|
||||
/**
|
||||
* Registers the given kind of supplementary node for use in creating node-backed supplementary views.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user