Instance Property


A Boolean that indicates whether the cell sizes change when the receiver is resized.


var autosizesCells: Bool { get set }


When the value of this property is true, whenever the matrix is resized, the sizes of the cells change in proportion, keeping the intercell space constant. This property verifies that the cell sizes and intercell spacing add up to the exact size of the matrix, adjusting the size of the cells and updating the matrix if they don’t. When the value of this property is false, then the intercell spacing and cell size remain constant.

See Also

Resizing the Matrix and Its Cells

func setValidateSize(Bool)

Specifies whether the receiver's size information is validated.

func sizeToCells()

Changes the width and the height of the receiver’s frame so it exactly contains the cells.