Instance Method

numberOfItemsInSection:

Returns the number of items in the specified section.

Declaration

- (NSInteger)numberOfItemsInSection:(NSInteger)section;

Parameters

section

The index of the section for which you want a count of the items.

Return Value

The number of items in the specified section.

See Also

Getting the State of the Collection View

numberOfSections

Returns the number of sections displayed by the collection view.

visibleCells

Returns an array of visible cells currently displayed by the collection view.