Instance Method

initWithConcurrencyType:

Initializes a context with a given concurrency type.

Declaration

- (instancetype)initWithConcurrencyType:(NSManagedObjectContextConcurrencyType)ct;

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

persistentStoreCoordinator

The persistent store coordinator of the context.

parentContext

The parent of the context.

name

The developer-provided name of the context.

userInfo

The user information for the context.

- initDeprecated
+ newDeprecated

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