Update manual display logic

Postpone manual display until a future release when it can be called on any thread. Provide the current node manual display logic as a category on ASDisplayNode only available for ASRangeController. Deprecate -displayImmediately.
This commit is contained in:
Ryan Nystrom
2014-12-04 10:12:52 -08:00
parent db085c49be
commit 36cbea4f8f
4 changed files with 42 additions and 45 deletions

View File

@@ -294,24 +294,6 @@
*/
@property (nonatomic, assign) BOOL shouldRasterizeDescendants;
/**
* @abstract Calls -setNeedsDisplay and -displayIfNeeded on the node's backing store.
*
* @note This method must be called on the main thread but there are plans to allow this on any thread.
*/
- (void)display;
/**
* @abstract Call -display on the node and recursively on all subnodes, forcing the entire node hierarchy to be
* displayed.
*/
- (void)recursivelyDisplay;
/**
* @abstract Display the node's view/layer immediately on the current thread, bypassing the background thread rendering.
*/
- (void)displayImmediately;
/**
* @abstract Prevent the node's layer from displaying.
*