On Aug 16, 2010, at 8:40 PM, Ferhat Ayaz wrote:
> On Aug 16, 2010, at 8:02 PM, Uli Kusterer wrote:
>> 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.

>> 
> thank you for your answer. I guess it was a poorly asked question. Sorry for 
> that. I know what the exception means and I know that it is a memory problem 
> (btw - caused by NSOperationQueue).
> I was wondering 'who' is calling the message isTemporaryID and 'when'. But it 
> is solved now.

 The debugger will tell you, if you do what I say above. It will show you 
exactly who called what, as soon as it happens.

> The word "Category" has probably a special meaning, however, 
> "ASManagedCategory" not. It is just another class name like MyDocument , 
> MyMessage, MyClass.


 I guess we'll have to agree to disagree.

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