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