Instance Property

collectionViewLayout

The layout object used to initialize the collection view controller.

Declaration

@property(nonatomic, readonly) UICollectionViewLayout *collectionViewLayout;

Discussion

This property contains the layout object you passed to the initWithCollectionViewLayout: method. The layout object in this property is not updated to reflect changes to the collection view itself. You can use this property to refer to the layout object you originally configured the collection view to use.

See Also

Getting the Collection View

collectionView

The collection view object managed by this view controller.