<!--
{
  "availability" : [
    "iOS: 10.3.0 -",
    "iPadOS: 10.3.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.12.4 -",
    "tvOS: 10.2.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 3.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/NSNotification/Name-swift.struct/NSManagedObjectContextDidMergeChangesObjectIDs",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:@NSManagedObjectContextDidMergeChangesObjectIDsNotification"
  },
  "title" : "NSManagedObjectContextDidMergeChangesObjectIDs"
}
-->

# NSManagedObjectContextDidMergeChangesObjectIDs

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

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

## Discussion

This notification’s `object` is the merged context. Don’t peform any asynchronous work or block the calling thread. <doc://com.apple.documentation/documentation/CoreData/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 <doc://com.apple.documentation/documentation/CoreData/NSManagedObjectContext/NotificationKey>. It’s safe to capture the dictionary’s contents.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)