Contents

numberOfSections

The number of sections in the table view.

Declaration

var numberOfSections: Int { get }

Discussion

UITableView gets the value in this property from its data source and caches it.

See Also

Getting the number of rows and sections