Core Data on iOS -- get specific changes done to object

Is it possible to get the specific changes done to an object in NSFetchedResultsControllerDelegate's controller:didChangeObject:atIndexPath:forChangeType:newIndexPath: method?

While I'm looking for a pretty solution, I guess a hack would be fine too...

Thanks, A. Dvorak

Answers


You get the change type, that tells you broadly what happened and covers the insert / delete / move. The only case where you need more details is on an update type. In this case, you have the object so you can call changedValues or changedValuesForCurrentEvent on it to get the required details.


Need Your Help

Writing a load balance algorithm for WSO2 ESB

algorithm wso2 load-balancing wso2esb

I'm facing up to the load balance algorithm implementation for customizing the load balance endpoint.

Access VBA code to pull all files from a folder and insert them into seperate attachment fields in a table

mysql vba ms-access dao

I have code written to pull a specific file from a folder, insert it into an attachment field (local_attachment) and which creates a new record in table TEMP_attachment. I am trying to pull all the...