Instance Property


The default size to use for cells.


@property(nonatomic) CGSize itemSize;


If the delegate does not implement the collectionView:layout:sizeForItemAtIndexPath: method, the flow layout uses the value in this property to set the size of each cell. This results in cells that all have the same size.

The default size value is (50.0, 50.0).

See Also

Configuring the Item Spacing


The minimum spacing to use between lines of items in the grid.


The minimum spacing to use between items in the same row.


The estimated size of cells in the collection view.


The margins used to lay out content in a section

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software