This answer suggests that to get an object from the objected, you use a method such as this:
-(NSManagedObject *)objectRegisteredForID:(NSManagedObjectID *)objectID
or
-(NSManagedObject *)objectWithID:(NSManagedObjectID *)objectID
This may be a dumb question but how do you call these methods? With the MOC, managed object and other objects involved, am finding this very confusing and not succeeding in calling either method.
This is giving a 'use of undeclared identifier' error, for example:
NSManagedObject *object = objectRegisteredForID:self.moID;
Thanks for any clarification.