ASStaticLayoutSpec Class Reference

Inherits from ASLayoutSpec : NSObject
Declared in ASStaticLayoutSpec.h

Overview

A layout spec that positions children at fixed positions.

Computes a size that is the union of all childrens' frames.

+ staticLayoutSpecWithChildren:

Children to be positioned at fixed positions, each conforms to ASStaticLayoutable

+ (instancetype)staticLayoutSpecWithChildren:(NSArray<id<ASStaticLayoutable> > *)children

Parameters

children

Children to be positioned at fixed positions, each conforms to ASStaticLayoutable

Declared In

ASStaticLayoutSpec.h