Index

RBSchemaPositioner.swift

Protocols

Classes


RBSchemaPositioner

A positioner that uses a passed in schema (meta data concerning specific views) and the UIView's described by the schema. When using a RBSchemaPositioner certain layout views methods such as pushCell, insertCellAtIndex etc can-not be called an exception will be thrown if the attempt is made.

Properties

The delegate of the positioner, to receive a positioner schema event to add or remove cells.
public weak var schemaDelegate RBSchemaPositionerDelegate? { get set }

The schema that holds the views and layout data for the positioner.
public var schema RBSchemaPositionerSchema! { get set }

Functions

Removes all existing views on the positioners by calling the schemaDelegates popAllCells method and then adds the all the views obtained via the schemas views property. This is called automatically if the schema is changed or the positioner is added to a layout view. Do not call this directly it is used internally only.
public func resetViews()


RBSchemaPositionerSchema

Properties

An array of UIView objects in the order that they should be added to a view.
public var views [UIView] { get }