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 sizeRange

Declared In

ASStaticLayoutable.h

  layoutPosition required method

The position of this object within its parent spec.

@property (nonatomic, assign) CGPoint layoutPosition

Declared In

ASStaticLayoutable.h