numberOfSections The number of sections displayed by the collection view. Declarationvar numberOfSections: Int { get } See AlsoGetting the state of the collection viewnumberOfItems(inSection:)visibleCells