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:
Ryan Nystrom
2014-11-25 13:33:40 -08:00
parent ab46377af2
commit 8b0dbf7288
32 changed files with 1240 additions and 24 deletions

View File

@@ -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.
*/