• 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: Joanna Carter <email@hidden>
  • Date: Fri, 5 Mar 2010 07:34:11 +0000

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 (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: Get my custom object from NSDictionary variable
  • Next by Date: Xcode 3.2.1 and OCUnit results in selector not recognized
  • Previous by thread: Re: -[NSManagedObject objectID]: unrecognized selector sent to class
  • Next by thread: Interface Builder : moving a controller to File's Owner
  • Index(es):
    • Date
    • Thread