Instance Property


The collection view object managed by this view controller.


var collectionView: UICollectionView! { get set }


If you assign a new collection view object to this property and that view’s data source or delegate are not yet set, the collection view controller makes itself the delegate or data source or both.

See Also

Getting the Collection View

var collectionViewLayout: UICollectionViewLayout

The layout object used to initialize the collection view controller.