---
title: NSPersistentCloudKitContainerOptions
framework: coredata
role: symbol
role_heading: Class
path: coredata/nspersistentcloudkitcontaineroptions
---

# NSPersistentCloudKitContainerOptions

An object that customizes how a store description aligns with a CloudKit database.

## Declaration

```swift
class NSPersistentCloudKitContainerOptions
```

## Mentioned in

Creating a Core Data Model for CloudKit Setting Up Core Data with CloudKit

## Overview

Overview Use NSPersistentCloudKitContainerOptions to customize the behavior of an NSPersistentCloudKitContainer or to create additional store descriptions that sync to other containers. For more information about setting up multiple stores, see Setting Up Core Data with CloudKit.

## Topics

### Creating Container Options

- [init(containerIdentifier:)](coredata/nspersistentcloudkitcontaineroptions/init(containeridentifier:).md)
- [containerIdentifier](coredata/nspersistentcloudkitcontaineroptions/containeridentifier.md)
- [databaseScope](coredata/nspersistentcloudkitcontaineroptions/databasescope-4c72t.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)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### CloudKit mirroring

- [Mirroring a Core Data store with CloudKit](coredata/mirroring-a-core-data-store-with-cloudkit.md)
- [Synchronizing a local store to the cloud](coredata/synchronizing-a-local-store-to-the-cloud.md)
- [NSPersistentCloudKitContainer](coredata/nspersistentcloudkitcontainer.md)
- [Sharing Core Data objects between iCloud users](coredata/sharing-core-data-objects-between-icloud-users.md)
