numberOfRows(inComponent:)
Returns the number of rows for a component.
Declaration
func numberOfRows(inComponent component: Int) -> IntParameters
- component:
A zero-indexed number identifying a component.
Return Value
The number of rows in the given component.
Discussion
A picker view fetches the value of this property from the data source and and caches it. The default value is zero.