YMASizeConstraintType
Objective-C
enum YMASizeConstraintType : NSInteger {}
Swift
enum YMASizeConstraintType : Int
Object sizing constraint.
- YMASizeConstraintTypeFixed
- YMASizeConstraintTypeFixedBannerRatio
- YMASizeConstraintTypePreferredBannerRatio
Fixed width or height.
Declaration
Objective-C
YMASizeConstraintTypeFixed
Swift
case fixed = 0
The ratio of the size of something to the size of the entire contents. The actual size of the content is not considered.
Declaration
Objective-C
YMASizeConstraintTypeFixedBannerRatio
Swift
case fixedBannerRatio = 1