• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: -[NSManagedObject objectID]: unrecognized selector sent to class
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: -[NSManagedObject objectID]: unrecognized selector sent to class


  • Subject: Re: -[NSManagedObject objectID]: unrecognized selector sent to class
  • From: Fritz Anderson <email@hidden>
  • Date: Thu, 4 Mar 2010 21:07:18 -0600

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@hidden)

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:

This email sent to email@hidden

References: 
 >-[NSManagedObject objectID]: unrecognized selector sent to class (From: Matt Bigarani <email@hidden>)

  • Prev by Date: Re: NSLocale and currency symbols
  • Next by Date: NSSegmentedControl
  • Previous by thread: -[NSManagedObject objectID]: unrecognized selector sent to class
  • Next by thread: Re: -[NSManagedObject objectID]: unrecognized selector sent to class
  • Index(es):
    • Date
    • Thread