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