---
title: indexSearch
framework: uikit
role: symbol
role_heading: Type Property
path: uikit/uitableview/indexsearch
---

# indexSearch

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

## Declaration

```swift
class let indexSearch: String
```

## Discussion

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

- [sectionIndexMinimumDisplayRowCount](uikit/uitableview/sectionindexminimumdisplayrowcount.md)
- [sectionIndexColor](uikit/uitableview/sectionindexcolor.md)
- [sectionIndexBackgroundColor](uikit/uitableview/sectionindexbackgroundcolor.md)
- [sectionIndexTrackingBackgroundColor](uikit/uitableview/sectionindextrackingbackgroundcolor.md)
