mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-09-08 13:42:51 +00:00
Finish that thought.
This commit is contained in:
parent
391ce15497
commit
3d22b18bcf
@ -18,7 +18,7 @@ NS_ASSUME_NONNULL_BEGIN
|
|||||||
have been set on background threads.
|
have been set on background threads.
|
||||||
|
|
||||||
This controller will enqueue run-loop events to flush changes
|
This controller will enqueue run-loop events to flush changes
|
||||||
but if you need
|
but if you need them flushed now you can call `flush` from the main thread.
|
||||||
*/
|
*/
|
||||||
@interface ASPendingStateController : NSObject
|
@interface ASPendingStateController : NSObject
|
||||||
|
|
||||||
@ -36,7 +36,9 @@ NS_ASSUME_NONNULL_BEGIN
|
|||||||
- (void)flush;
|
- (void)flush;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Register this node as having pending state that needs
|
Register this node as having pending state that needs to be copied
|
||||||
|
over to the view/layer. This is called automatically by display nodes
|
||||||
|
when their view/layer properties are set post-load on background threads.
|
||||||
*/
|
*/
|
||||||
- (void)registerNode:(ASDisplayNode *)node;
|
- (void)registerNode:(ASDisplayNode *)node;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user