Contents

sectionIndexTitles

Returns the list of section-index titles for the table view.

Declaration

var sectionIndexTitles: [String] { get }

Discussion

This property contains the localized list of section-index titles sorted according to the specified ordering (for example, A through Z in US English). In its implementation of sectionIndexTitles(for:), the data source can call this method on the indexed-collation object and pass back the result.

See Also

Providing section index data to the table view