mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Expose the layout's immediate sublayouts as the accessing nodes
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user