<!--
{
  "availability" : [
    "iOS: 3.0.0 -",
    "iPadOS: 3.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.4.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/NSNotification/Name-swift.struct/NSPersistentStoreCoordinatorStoresDidChange",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:@NSPersistentStoreCoordinatorStoresDidChangeNotification"
  },
  "title" : "NSPersistentStoreCoordinatorStoresDidChange"
}
-->

# NSPersistentStoreCoordinatorStoresDidChange

A notification that the coordinator posts after its registered stores change.

```
static let NSPersistentStoreCoordinatorStoresDidChange: NSNotification.Name
```

## Discussion

This notification’s `object` is the changed store coordinator. The framework posts the notification to an internal thread. Move to a known thread before peforming any work.

The `userInfo` dictionary contains information about the added, updated, and removed persistent stores, which you access with the <doc://com.apple.documentation/documentation/CoreData/NSAddedPersistentStoresKey>, <doc://com.apple.documentation/documentation/CoreData/NSUUIDChangedPersistentStoresKey>, and <doc://com.apple.documentation/documentation/CoreData/NSRemovedPersistentStoresKey> keys. Don’t 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)