Instance Property

collectionView

The collection view object managed by this view controller.

Declaration

@property(nonatomic, strong) __kindof UICollectionView *collectionView;

Discussion

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

collectionViewLayout

The layout object used to initialize the collection view controller.