RBLayoutRelativePositioner Class Reference

Inherits from RBLayoutSchemaPositioner : RBLayoutPositioner : NSObject
Declared in RBLayoutRelativePositioner.h

Overview

A positioner that arranges view relative to each other and the parent view edges.

– initWithSchema:

Initializes a new RBLayoutRelativePositioner using the supplied schema.

- (nonnull instancetype)initWithSchema:(nonnull RBLayoutRelativePositionerSchema *)schema

Parameters

schema

The schema to use.

Return Value

The initialized positioner.

Declared In

RBLayoutRelativePositioner.h

+ withSchema:

Initializes a new RBLayoutRelativePositioner using the supplied schema.

+ (nonnull instancetype)withSchema:(nonnull RBLayoutRelativePositionerSchema *)schema

Parameters

schema

The schema to use.

Return Value

The initialized positioner.

Declared In

RBLayoutRelativePositioner.h