Contents

size

The size of the item.

Declaration

var size: CGSize { get set }

Discussion

Setting the value of this property also changes the size of the rectangle returned by the frame and bounds properties.

See Also

Accessing the layout attributes