Hi Matt

Le 4 mars 2010 à 19:32, Matt Bigarani a écrit :

> I'm experiencing some weirdness with NSManagedObject. Basic
> background, I have an NSManagedObject 'surveyGroup', which has a
> to-many relationship to another NSManagedObject, surveyResults.
> 
> I'm attempting to access the surveyResults object in two different
> methods. It works fine in the first method, but in the second method I
> get the error:
> 
> "-[NSManagedObject objectID]: unrecognized selector sent to class"

If that is the exact code that is being quoted, then the problem is that you 
are sending the objectID message to the NSManagedObject class, not to an 
instance of the class.

Joanna

--
Joanna Carter
Carter Consulting
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to