mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Manually display nodes
Added a sample project that will demonstrate how to manually display nodes. Removed the UIWindow hack that coupled display of nodes with Core Animation transactions.
This commit is contained in:
@@ -294,6 +294,13 @@
|
||||
*/
|
||||
@property (nonatomic, assign) BOOL shouldRasterizeDescendants;
|
||||
|
||||
/**
|
||||
* @abstract Calls -setNeedsDisplay and -displayIfNeeded on the node's backing store and recursively calls -display on
|
||||
* all subnodes forcing the entire node hierarchy to be displayed. This method must be called on the main thread but
|
||||
* there are plans to allow this on any thread.
|
||||
*/
|
||||
- (void)display;
|
||||
|
||||
/**
|
||||
* @abstract Display the node's view/layer immediately on the current thread, bypassing the background thread rendering.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user