Instance Property

collectionView

The collection view object currently using this layout object.

Declaration

var collectionView: UICollectionView? { get }

Discussion

The collection view object sets the value of this property when a new layout object is assigned to it.

See Also

Getting the Collection View Information

var collectionViewContentSize: CGSize

Returns the width and height of the collection view’s contents.