<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.12.0 -",
    "tvOS: 10.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 3.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreData",
  "identifier" : "/documentation/CoreData/NSPersistentContainer/persistentStoreDescriptions",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Core Data"
    ],
    "preciseIdentifier" : "c:objc(cs)NSPersistentContainer(py)persistentStoreDescriptions"
  },
  "title" : "persistentStoreDescriptions"
}
-->

# persistentStoreDescriptions

The descriptions of the container’s persistent stores.

```
var persistentStoreDescriptions: [NSPersistentStoreDescription] { get set }
```

## Discussion

If you want to override the type (or types) of persistent store(s) used by the persistent container, you can set this property with an array of [`NSPersistentStoreDescription`](/documentation/CoreData/NSPersistentStoreDescription) objects.

If you will be configuring custom persistent store descriptions, you must set this property before calling [`loadPersistentStores(completionHandler:)`](/documentation/CoreData/NSPersistentContainer/loadPersistentStores(completionHandler:)).

---

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)