SectionIndexTitles
public protocol SectionIndexTitles
Providing section index titles.
-
Section Index Titles for
UITableView. Related toUITableViewDataSourcemethodsectionIndexTitlesForTableView.Declaration
Swift
var sectionIndexTitles: [String]? { get } -
Asks the data provider to return the index of the section having the given title and section title index.
Declaration
Swift
func indexPath(forSectionIndexTitle sectionIndexTitle: String, at index: Int) -> IndexPathParameters
sectionIndexTitleThe title as displayed in the section index
indexAn index number identifying a section title in the array returned by
sectionIndexTitlesReturn Value
An index number identifying a section.
View on GitHub
SectionIndexTitles Protocol Reference