section(forSectionIndexTitle:at:)
Returns the section number for a given section title and index in the section index.
Declaration
func section(forSectionIndexTitle title: String, at sectionIndex: Int) -> IntParameters
- title:
The title of a section
- sectionIndex:
The index of a section.
Return Value
The section number for the given section title and index in the section index
Discussion
You would typically call this method when executing UITableViewDataSource’s tableView(_:sectionForSectionIndexTitle:at:) method.