Contents

indexSearch

A constant for adding the magnifying glass icon to the section index of a table view.

Declaration

class let indexSearch: String

Discussion

If the data source includes this constant string in the array of strings it returns in sectionIndexTitles(for:), the section index displays a magnifying glass icon at the corresponding index location. This location should generally be the first title in the index.

See Also

Configuring the table index