Instance Property

itemSize

The default size to use for cells.

Declaration

@property(nonatomic) CGSize itemSize;

Discussion

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

minimumLineSpacing

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

minimumInteritemSpacing

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

estimatedItemSize

The estimated size of cells in the collection view.

sectionInset

The margins used to lay out content in a section