Introduce type property to replace layout id check

This commit is contained in:
Levi McCallum
2016-06-08 18:28:21 -07:00
parent a3e8f556a3
commit 7e8d519a9a
5 changed files with 36 additions and 6 deletions

View File

@@ -31,6 +31,11 @@ extern BOOL CGPointIsNull(CGPoint point);
*/
@property (nonatomic, weak, readonly) id<ASLayoutable> layoutableObject;
/**
* The type of ASLayoutable that created this layout
*/
@property (nonatomic, readonly) ASLayoutableType type;
/**
* Size of the current layout
*/