Expose the layout's immediate sublayouts as the accessing nodes

This commit is contained in:
Levi McCallum
2016-02-09 14:12:05 -08:00
parent 4361c3bbb4
commit 1513ee8ca5
4 changed files with 68 additions and 60 deletions

View File

@@ -15,10 +15,21 @@
*/
- (BOOL)isAnimated;
/**
* @abstract The destination layout being transitioned to
*/
- (ASLayout *)layout;
/**
* @abstrat The destination constrainedSize being transitioned to
*/
- (ASSizeRange)constrainedSize;
/**
* @abstract Subnodes in the new layout
*/
- (NSArray<ASDisplayNode *> *)subnodes;
/**
@abstract The frame for the given node before the transition began.
@discussion Returns CGRectNull if the node was not in the hierarchy before the transition.