ASAbsoluteLayoutSpec Class Reference

Inherits from ASLayoutSpec : NSObject
Declared in ASAbsoluteLayoutSpec.h

Overview

A layout spec that positions children at fixed positions.

  sizing

How much space will the spec taken up

@property (nonatomic, assign) ASAbsoluteLayoutSpecSizing sizing

Declared In

ASAbsoluteLayoutSpec.h

+ absoluteLayoutSpecWithSizing:children:

How much space the spec will take up

+ (instancetype)absoluteLayoutSpecWithSizing:(ASAbsoluteLayoutSpecSizing)sizing children:(NSArray<id<ASLayoutElement> > *)children

Parameters

sizing

How much space the spec will take up

children

Children to be positioned at fixed positions

Declared In

ASAbsoluteLayoutSpec.h

+ absoluteLayoutSpecWithChildren:

Children to be positioned at fixed positions

+ (instancetype)absoluteLayoutSpecWithChildren:(NSArray<id<ASLayoutElement> > *)children

Parameters

children

Children to be positioned at fixed positions

Declared In

ASAbsoluteLayoutSpec.h