ASRelativeLayoutSpecPosition Constants Reference
| Declared in | ASRelativeLayoutSpec.h |
|---|
ASRelativeLayoutSpecPosition
How the child is positioned within the spec.
Definition
typedef NS_OPTIONS(NSUInteger, ASRelativeLayoutSpecPosition ) {
ASRelativeLayoutSpecPositionStart = 0,
ASRelativeLayoutSpecPositionCenter = 1 < < 0,
ASRelativeLayoutSpecPositionEnd = 1 < < 1,
};
Constants
ASRelativeLayoutSpecPositionStart-
The child is positioned at point 0 relatively to the layout axis (ie left / top most)
Declared In
ASRelativeLayoutSpec.h. ASRelativeLayoutSpecPositionCenter-
The child is centered along the specified axis
Declared In
ASRelativeLayoutSpec.h. ASRelativeLayoutSpecPositionEnd-
The child is positioned at the maximum point of the layout axis (ie right / bottom most)
Declared In
ASRelativeLayoutSpec.h.
Declared In
ASRelativeLayoutSpec.h