It looks like you can receive notifications from your MOC as follows:
Core Data uses these string constants as keys in the user info dictionary in aNSManagedObjectContextObjectsDidChangeNotification notification.
NSString * const NSInsertedObjectsKey;
NSString * const NSUpdatedObjectsKey;
NSString * const NSDeletedObjectsKey;
NSString * const NSRefreshedObjectsKey;
NSString * const NSInvalidatedObjectsKey;
NSString * const NSInvalidatedAllObjectsKey;
As an approach, perhaps you can start by compiling the complete protocol that you desired for us, and then add the implementations and small tests that you need to it.
source
share