Removed ASBaselineLayoutSpec and made baseline alignment part of ASStackView

This commit is contained in:
rcancro
2015-09-10 17:29:39 -07:00
parent a56ac35105
commit 4bb8472182
14 changed files with 101 additions and 243 deletions

View File

@@ -50,4 +50,14 @@
*/
@property (nonatomic, readwrite) ASStackLayoutAlignSelf alignSelf;
/**
* @abstract Used for baseline alignment. The distance from the top of the object to its baseline.
*/
@property (nonatomic, readwrite) CGFloat ascender;
/**
* @abstract Used for baseline alignment. The distance from the baseline of the object to its bottom.
*/
@property (nonatomic, readwrite) CGFloat descender;
@end