Contents

frame

The frame rectangle of the item.

Declaration

var frame: CGRect { get set }

Discussion

The frame rectangle is measured in points and specified in the coordinate system of the collection view. Setting the value of this property also sets the values of the center and size properties.

See Also

Accessing the layout attributes