Instance Method

sizeToCells()

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

Declaration

func sizeToCells()

Discussion

This method does not redraw the receiver.

See Also

Resizing the Matrix and Its Cells

var autosizesCells: Bool

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

func setValidateSize(Bool)

Specifies whether the receiver's size information is validated.