ASDimensionUnit Constants Reference
Declared in | ASDimension.h |
---|
ASDimensionUnit
A dimension relative to constraints to be provided in the future. A ASDimension can be one of three types:
“Auto” - This indicated “I have no opinion” and may be resolved in whatever way makes most sense given the circumstances.
“Points” - Just a number. It will always resolve to exactly this amount.
“Percent” - Multiplied to a provided parent amount to resolve a final amount.
Definition
typedef NS_ENUM(NSInteger, ASDimensionUnit ) {
ASDimensionUnitAuto,
ASDimensionUnitPoints,
ASDimensionUnitFraction,
};
Constants
ASDimensionUnitAuto
-
This indicates “I have no opinion” and may be resolved in whatever way makes most sense given the circumstances.
Declared In
ASDimension.h
. ASDimensionUnitPoints
-
Just a number. It will always resolve to exactly this amount. This is the default type.
Declared In
ASDimension.h
. ASDimensionUnitFraction
-
Multiplied to a provided parent amount to resolve a final amount.
Declared In
ASDimension.h
.
Declared In
ASDimension.h