ASStaticLayoutable Protocol Reference
| Declared in | ASStaticLayoutable.h |
|---|
Overview
Layout options that can be defined for an ASLayoutable being added to a ASStaticLayoutSpec.
sizeRange
required method
If specified, the child’s size is restricted according to this size. Percentages are resolved relative to the static layout spec.
@property (nonatomic, assign) ASRelativeSizeRange sizeRangeDeclared In
ASStaticLayoutable.h
layoutPosition
required method
The position of this object within its parent spec.
@property (nonatomic, assign) CGPoint layoutPositionDeclared In
ASStaticLayoutable.h