ASRelativeDimensionType Constants Reference

Declared in ASDimension.h

ASRelativeDimensionType

A dimension relative to constraints to be provided in the future.

Definition

typedef NS_ENUM(NSInteger, ASRelativeDimensionType ) {
   ASRelativeDimensionTypePoints,
   ASRelativeDimensionTypePercent,
};

Constants

ASRelativeDimensionTypePoints

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

Declared In ASDimension.h.

ASRelativeDimensionTypePercent

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

Declared In ASDimension.h.

Declared In

ASDimension.h