RBLayoutSchemaPositionerDelegate Protocol Reference

Conforms to NSObject
Declared in RBLayoutSchemaPositioner.h

Overview

A delegate to receive positioner schema events.

– pushCell:positioner: required method

Push a new cell to the layout view.

- (BOOL)pushCell:(nonnull __kindof UIView *)cell positioner:(nonnull RBLayoutPositioner *)positioner

Parameters

cell

The cell to push to the layout view.

positioner

The positioner making the request.

Return Value

Whether or not the operation was successful.

Declared In

RBLayoutSchemaPositioner.h

– insertCell:atIndex:positioner: required method

Insert a new cell to the layout view at the given index.

- (BOOL)insertCell:(nonnull __kindof UIView *)cell atIndex:(NSInteger)index positioner:(nonnull RBLayoutPositioner *)positioner

Parameters

cell

The cell to insert to the layout view.

index

The index at which to insert the cell.

positioner

The positioner making the request.

Return Value

Whether or not the operation was successful.

Declared In

RBLayoutSchemaPositioner.h

– removeCellAtIndex:positioner: required method

Remove the cell at the given index from the layout view.

- (BOOL)removeCellAtIndex:(NSInteger)index positioner:(nonnull RBLayoutPositioner *)positioner

Parameters

index

The index of the cell to remove.

positioner

The positioner making the request.

Return Value

Whether or not the operation was successful.

Declared In

RBLayoutSchemaPositioner.h

– removeCell:positioner: required method

Remove the given cell from the layout view.

- (BOOL)removeCell:(nonnull __kindof UIView *)cell positioner:(nonnull RBLayoutPositioner *)positioner

Parameters

cell

The cell to remove from the layout view.

positioner

The positioner making the request.

Return Value

Whether or not the operation was successful.

Declared In

RBLayoutSchemaPositioner.h

– popCell: required method

Pop the last cell from the layout view.

- (BOOL)popCell:(nonnull RBLayoutPositioner *)positioner

Parameters

positioner

The positioner making the request.

Return Value

Whether or not the operation was successful.

Declared In

RBLayoutSchemaPositioner.h

– popAllCells: required method

Pop all of the cells from the layout view.

- (BOOL)popAllCells:(nonnull RBLayoutPositioner *)positioner

Parameters

positioner

The positioner making the request.

Return Value

Whether or not the operation was successful.

Declared In

RBLayoutSchemaPositioner.h