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

# NSManagedObjectContextDidMergeChangesObjectIDs

A notification that posts after a context merges changes from a different notification.

## Declaration

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

## Discussion

Discussion This notification’s object is the merged context. Don’t peform any asynchronous work or block the calling thread. NSManagedObjectContext posts notifications to the same thread that creates it. The userInfo dictionary contains the identifiers of the inserted, updated, deleted, refreshed, and invalidated managed objects. For the keys to access those objects, see NSManagedObjectContext.NotificationKey. 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)
- [NSCoreDataCoreSpotlightDelegateIndexDidUpdate](foundation/nsnotification/name-swift.struct/nscoredatacorespotlightdelegateindexdidupdate.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)
