On Aug 14, 2010, at 1:06 PM, Ferhat Ayaz wrote:
> I received an exception from my application which I can not figure out. I 
> have a subclass of NSManagedObject, named ASManagedCategory.
> The following exception were thrown once in the application.
> 
> -[ASManagedCategory isTemporaryID]: unrecognized selector sent to instance 
> 0x294740
> 
> What did this mean? Is it a bug? I'm not sure when exactly this exception 
> were thrown. I guess it was after a fetch operation.


 There's an exception thrown on invalid selectors. Make sure you have "Stop on 
Objective-C exceptions" selected in the "Run" menu in Xcode, then try doing 
this again. The debugger should show you who is calling this and getting an 
exception.

 BTW -- The word "Category" has a special meaning in Objective C. I'd suggest 
you change that class's name to avoid confusion in the future.

Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."

_______________________________________________

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