Contents

numberOfItems(inSection:)

Fetches the count of items in the specified section.

Declaration

func numberOfItems(inSection section: Int) -> Int

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