---
title: indexName()
framework: coredata
role: symbol
role_heading: Instance Method
path: coredata/nscoredatacorespotlightdelegate/indexname()
---

# indexName()

Returns the index’s name.

## Declaration

```swift
func indexName() -> String?
```

## Discussion

Discussion The default value is nil.

## See Also

### Configuring the Index

- [isIndexingEnabled](coredata/nscoredatacorespotlightdelegate/isindexingenabled.md)
- [domainIdentifier()](coredata/nscoredatacorespotlightdelegate/domainidentifier().md)
