Initializer

init(concurrencyType:)

Initializes a context with a given concurrency type.

Declaration

init(concurrencyType ct: NSManagedObjectContextConcurrencyType)

Parameters

type

The concurrency pattern with which context will be used.

Return Value

A context initialized to use the given concurrency type.

Discussion

For more details on use of this method, see Concurrency.

See Also

Configuring a Context

var persistentStoreCoordinator: NSPersistentStoreCoordinator?

The persistent store coordinator of the context.

var parent: NSManagedObjectContext?

The parent of the context.

var name: String?

The developer-provided name of the context.

var userInfo: NSMutableDictionary

The user information for the context.

init()Deprecated

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