ASRelativeDimensionType Constants Reference

Declared in ASDimension.h

ASRelativeDimensionType

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, ASRelativeDimensionType ) {
   ASRelativeDimensionTypeAuto,
   ASRelativeDimensionTypePoints,
   ASRelativeDimensionTypeFraction,
};

Constants

ASRelativeDimensionTypeAuto

This indicates “I have no opinion” and may be resolved in whatever way makes most sense given the circumstances.

Declared In ASDimension.h.

ASRelativeDimensionTypePoints

Just a number. It will always resolve to exactly this amount. This is the default type.

Declared In ASDimension.h.

ASRelativeDimensionTypeFraction

Multiplied to a provided parent amount to resolve a final amount.

Declared In ASDimension.h.

Declared In

ASDimension.h