---
title: persistentStoreDescriptions
framework: coredata
role: symbol
role_heading: Instance Property
path: coredata/nspersistentcontainer/persistentstoredescriptions
---

# persistentStoreDescriptions

The descriptions of the container’s persistent stores.

## Declaration

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

## Discussion

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 objects. If you will be configuring custom persistent store descriptions, you must set this property before calling loadPersistentStores(completionHandler:).

## See Also

### Managing Persistent Stores

- [loadPersistentStores(completionHandler:)](coredata/nspersistentcontainer/loadpersistentstores(completionhandler:).md)
