mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Expose calculated frame on layout
This commit is contained in:
@@ -122,6 +122,11 @@ extern BOOL CGPointIsNull(CGPoint point);
|
||||
*/
|
||||
- (ASLayout *)flattenedLayoutUsingPredicateBlock:(BOOL (^)(ASLayout *evaluatedLayout))predicateBlock;
|
||||
|
||||
/**
|
||||
* @abstract Returns a valid frame for the current layout computed with the size and position.
|
||||
*/
|
||||
- (CGRect)frame;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
|
||||
Reference in New Issue
Block a user