Global Variable

NSRollbackMergePolicy

A policy that merges conflicts between the persistent store's version of the object and the current in-memory version by discarding all state for the changed objects in conflict.

Declaration

var NSRollbackMergePolicy: AnyObject

Discussion

The persistent store’s version of the objects’ state is used.

See Also

Policies

var NSErrorMergePolicy: AnyObject

Default policy for all managed object contexts.

var NSMergeByPropertyStoreTrumpMergePolicy: AnyObject

A policy that merges conflicts between the persistent store’s version of the object and the current in-memory version by individual property, with the external changes trumping in-memory changes.

var NSMergeByPropertyObjectTrumpMergePolicy: AnyObject

A policy that merges conflicts between the persistent store’s version of the object and the current in-memory version by individual property, with the in-memory changes trumping external changes.

var NSOverwriteMergePolicy: AnyObject

A policy that merges conflicts between the persistent store's version of the object and the current in-memory version by pushing the entire in-memory object to the persistent store.

enum NSMergePolicyType

Constants that define merge policy types.