numberOfRows(inSection:)
Returns the number of rows (table cells) in a specified section.
Declaration
func numberOfRows(inSection section: Int) -> IntParameters
- section:
An index number that identifies a section of the table. Table views in a plain style have a section index of zero.
Return Value
The number of rows in the section.
Discussion
UITableView gets the value returned by this method from its data source and caches it.