objectIDNotification()
Obtains a notification for use in merging the transaction’s changes into a managed object context.
Declaration
func objectIDNotification() -> NotificationMentioned in
Return Value
An NSManagedObjectContextDidSaveObjectIDsNotification notification.
Discussion
To merge the relevant changes into your view context, first obtain a notification by calling objectIDNotification() on the transaction. Then, pass the notification to mergeChanges(fromContextDidSave:).