TableDataSourceProvider
protocol TableDataSourceProvider : AnyObject
Represents the data source of a table view
-
Number of sections to be displayed
Declaration
Swift
var numberOfSections: Int { get }
-
Number of rows to be displayed for a given section
Declaration
Swift
func numberOfRows(in section: Int) -> Int
Parameters
section
section number in the table