Expose calculated frame on layout

This commit is contained in:
Levi McCallum
2016-02-09 13:11:17 -08:00
parent a93013702d
commit 8cdea808ec
2 changed files with 33 additions and 0 deletions

View File

@@ -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