changedValuesForCurrentEvent()
Returns a dictionary containing the keys and new values of persistent properties with changes since the last fetching or saving of the managed object.
Declaration
func changedValuesForCurrentEvent() -> [String : Any]Return Value
A dictionary with keys that are the names of persistent properties with changes since the last posting of NSManagedObjectContextObjectsDidChange, and with the new values for those properties.
Discussion
This method only reports changes to properties that are persistent properties of the receiver, not changes to transient properties or custom instance variables.