---
title: NSPersistentStoreDescription
framework: coredata
role: symbol
role_heading: Class
path: coredata/nspersistentstoredescription
---

# NSPersistentStoreDescription

A description object used to create and load a persistent store.

## Declaration

```swift
class NSPersistentStoreDescription
```

## Mentioned in

Setting Up Core Data with CloudKit

## Topics

### Creating a Persistent Store Description

- [init(url:)](coredata/nspersistentstoredescription/init(url:)-ko0l.md)

### Configuring a Persistent Store Description

- [url](coredata/nspersistentstoredescription/url.md)
- [configuration](coredata/nspersistentstoredescription/configuration.md)
- [timeout](coredata/nspersistentstoredescription/timeout.md)
- [type](coredata/nspersistentstoredescription/type.md)
- [isReadOnly](coredata/nspersistentstoredescription/isreadonly.md)
- [shouldAddStoreAsynchronously](coredata/nspersistentstoredescription/shouldaddstoreasynchronously.md)
- [shouldInferMappingModelAutomatically](coredata/nspersistentstoredescription/shouldinfermappingmodelautomatically.md)
- [shouldMigrateStoreAutomatically](coredata/nspersistentstoredescription/shouldmigratestoreautomatically.md)
- [setOption(_:forKey:)](coredata/nspersistentstoredescription/setoption(_:forkey:).md)
- [setValue(_:forPragmaNamed:)](coredata/nspersistentstoredescription/setvalue(_:forpragmanamed:).md)

### Accessing the Configuration Options

- [options](coredata/nspersistentstoredescription/options.md)
- [sqlitePragmas](coredata/nspersistentstoredescription/sqlitepragmas.md)

### Syncing to CloudKit

- [cloudKitContainerOptions](coredata/nspersistentstoredescription/cloudkitcontaineroptions.md)

### Initializers

- [init(URL:)](coredata/nspersistentstoredescription/init(url:)-3snc6.md)
- [init(URL:)](coredata/nspersistentstoredescription/init(url:)-58ysp.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Store Coordination

- [NSPersistentStoreCoordinator](coredata/nspersistentstorecoordinator.md)
- [NSPersistentStore](coredata/nspersistentstore.md)
- [NSPersistentStoreRequest](coredata/nspersistentstorerequest.md)
- [NSPersistentStoreResult](coredata/nspersistentstoreresult.md)
- [NSPersistentStoreAsynchronousResult](coredata/nspersistentstoreasynchronousresult.md)
- [NSSaveChangesRequest](coredata/nssavechangesrequest.md)
- [NSAtomicStore](coredata/nsatomicstore.md)
- [NSAtomicStoreCacheNode](coredata/nsatomicstorecachenode.md)
- [NSIncrementalStore](coredata/nsincrementalstore.md)
- [NSIncrementalStoreNode](coredata/nsincrementalstorenode.md)
