Enumeration

NSManagedObjectContextConcurrencyType

Constants to indicate the concurrency pattern with which a context will be used.

Declaration

typedef enum NSManagedObjectContextConcurrencyType : NSUInteger {
    ...
} NSManagedObjectContextConcurrencyType;

Overview

See also initWithConcurrencyType: and Concurrency with Core Data.

Topics

Constants

NSConfinementConcurrencyType

Specifies that the context will use the thread confinement pattern.

Deprecated
NSPrivateQueueConcurrencyType

Specifies that the context will be associated with a private dispatch queue.

NSMainQueueConcurrencyType

Specifies that the context will be associated with the main queue.

See Also

Managing Concurrency

automaticallyMergesChangesFromParent

A Boolean value that indicates whether the context automatically merges changes saved to its persistent store coordinator or parent context.

concurrencyType

The concurrency type for the context.

queryGenerationToken

Returns the token associated with the query generation currently in use by this context.

mergePolicy

The merge policy of the context.

transactionAuthor

The author for the context that is used as an identifier in persistent history transactions.

- mergeChangesFromContextDidSaveNotification:

Merges the changes specified in a given notification.

- setQueryGenerationFromToken:error:

Sets the query generation this context should use.

+ mergeChangesFromRemoteContextSave:intoContexts:

Handles changes from other processes or from a serialized state.

NSManagedObjectContextQueryGenerationKey

Constant used to reference the query generation token.