On 4 Mar 2010, at 1:32 PM, Matt Bigarani wrote:
> 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"
>
> When trying to access any of the properties of the surveyResult
> object. If I comment out the first method, the second method is able
> to access the properties of the surveyResult object without error.
It's not clear what you mean by two methods. I see only one attempt to pull a
property out of an apparent "surveyResult":
NSManagedObject * survey = [surveyResult valueForKey:@"survey"];
Perhaps your next listing could indicate what code you are commenting-out. Are
you sure you're showing us all of your code?
— F
_______________________________________________
Cocoa-dev mailing list ([email protected])
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 [email protected]