[ASDisplayNode] Improve locking in ASDisplayNode (#3172)

* Improve locking in ASDisplayNode

* Address first bunch of comments

* Changed `view` and `layer` methods for locking

* Adress comments
This commit is contained in:
Michael Schneider
2017-03-14 07:27:34 -07:00
committed by GitHub
parent b1cfd76cee
commit e6ee24debc
5 changed files with 310 additions and 239 deletions

View File

@@ -218,7 +218,7 @@ __unused static NSString * _Nonnull NSStringFromASHierarchyState(ASHierarchyStat
* @abstract Subclass hook for nodes that are acting as root nodes. This method is called if one of the subnodes
* size is invalidated and may need to result in a different size as the current calculated size.
*/
- (void)_locked_rootNodeDidInvalidateSize;
- (void)_rootNodeDidInvalidateSize;
/**
* @abstract Subclass hook for nodes that are acting as root nodes. This method is called after measurement