Instance Property


The parent of the context.


var parent: NSManagedObjectContext? { get set }


nil indicates there is no parent context. For more details, see Parent Store.

See Also

Configuring a Context

init(concurrencyType: NSManagedObjectContextConcurrencyType)

Initializes a context with a given concurrency type.

var persistentStoreCoordinator: NSPersistentStoreCoordinator?

The persistent store coordinator of the context.

var name: String?

The developer-provided name of the context.

var userInfo: NSMutableDictionary

The user information for the context.


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