numberOfSections The number of sections in the snapshot. Declarationvar numberOfSections: Int { get } See AlsoGetting item and section metricsnumberOfItemsnumberOfItems(inSection:)