Index

RBStackPositioner.swift

Classes


RBStackPositioner

Provides stack positioning with alignment in a given orientation.

Properties

The orientation in which the cells should be positioned. Default = RBOrientationVertical.
public var orientation RBOrientation { get set }

The vertical alignment of the cells. Default = RBVerticalAlignmentMiddle.
public var verticalAlignment RBVerticalAlignment { get set }

The horizontal alignment of the cells. Default = RBHorizontalAlignmentCenter.
public var horizontalAlignment RBHorizontalAlignment { get set }

Whether or not cells should fill the available width. Default = NO.
public var shouldFillWidth Bool { get set }

Whether or not cells should fill the available height. Default = NO.
public var shouldFillHeight Bool { get set }