I am trying to observe individual NSManagedObject
changes on NSManagedObjectContextWillSaveNotification
:
- (void)managedObjectContextWi
According to doc, hasChanges
will return YES if the receiver has been inserted, has been deleted, or has unsaved changes, otherwise NO.
In your case, you can check isInserted
, isUpdated
, isDeleted
flag to find what happened to your managed object. changedValues
only show the properties that have been changed since last fetching or saving the receiver.