---
title: NSCoreDataCoreSpotlightDelegateIndexDidUpdate
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/nsnotification/name-swift.struct/nscoredatacorespotlightdelegateindexdidupdate
---

# NSCoreDataCoreSpotlightDelegateIndexDidUpdate

A notification that posts after Spotlight completes an index update.

## Declaration

```swift
static let NSCoreDataCoreSpotlightDelegateIndexDidUpdate: NSNotification.Name
```

## Discussion

Discussion This notification’s object is the Core Spotlight delegate. The framework posts the notification to a private thread. Move to a known thread before peforming any work. The userInfo dictionary contains the persistent store’s unique identifier and the most recent history token, which you access with the NSStoreUUIDKey and NSPersistentHistoryTokenKey keys. It’s safe to capture the dictionary’s contents.

## See Also

### Core Data

- [NSManagedObjectContextDidSave](foundation/nsnotification/name-swift.struct/nsmanagedobjectcontextdidsave.md)
- [NSManagedObjectContextObjectsDidChange](foundation/nsnotification/name-swift.struct/nsmanagedobjectcontextobjectsdidchange.md)
- [NSManagedObjectContextWillSave](foundation/nsnotification/name-swift.struct/nsmanagedobjectcontextwillsave.md)
- [NSPersistentStoreCoordinatorStoresDidChange](foundation/nsnotification/name-swift.struct/nspersistentstorecoordinatorstoresdidchange.md)
- [NSPersistentStoreCoordinatorStoresWillChange](foundation/nsnotification/name-swift.struct/nspersistentstorecoordinatorstoreswillchange.md)
- [NSPersistentStoreCoordinatorWillRemoveStore](foundation/nsnotification/name-swift.struct/nspersistentstorecoordinatorwillremovestore.md)
- [NSManagedObjectContextDidMergeChangesObjectIDs](foundation/nsnotification/name-swift.struct/nsmanagedobjectcontextdidmergechangesobjectids.md)
- [NSManagedObjectContextDidSaveObjectIDs](foundation/nsnotification/name-swift.struct/nsmanagedobjectcontextdidsaveobjectids.md)
- [NSPersistentStoreRemoteChange](foundation/nsnotification/name-swift.struct/nspersistentstoreremotechange.md)
- [NSPersistentStoreDidImportUbiquitousContentChanges](foundation/nsnotification/name-swift.struct/nspersistentstoredidimportubiquitouscontentchanges.md)
