Class

NSPersistentCloudKitContainerOptions

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

Declaration

class NSPersistentCloudKitContainerOptions : NSObject

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

Initializing Container Options

init(containerIdentifier: String)

Initializes container options using the given CloudKit container identifier.

var containerIdentifier: String

The identifier of the CloudKit container associated with a given store description.

Relationships

Inherits From

Conforms To

See Also

CloudKit Mirroring

Mirroring a Core Data Store with CloudKit

Back user interfaces with a local replica of a CloudKit private database.

Synchronizing a Local Store to the Cloud

Share data between a user’s devices using Core Data with CloudKit.

class NSPersistentCloudKitContainer

A container that encapsulates the Core Data stack in your app and mirrors select persistent stores to a CloudKit private database.

Beta

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software