Contents

mergeChanges(fromContextDidSave:)

Merges the changes specified in a given notification.

Declaration

func mergeChanges(fromContextDidSave notification: Notification)

Parameters

Mentioned in

Discussion

This method refreshes any objects which have been updated in the other context, faults in any newly-inserted objects, and invokes delete(_:): on those which have been deleted.

You can pass a NSManagedObjectContextDidSave notification posted by a managed object context on another thread, however you must not use the managed objects in the user info dictionary directly. For more details, see Concurrency with Core Data.

See Also

Managing concurrency