Re: 'Class' may not respond to +isKindOfClass
Re: 'Class' may not respond to +isKindOfClass
- Subject: Re: 'Class' may not respond to +isKindOfClass
- From: Kevin Ballard <email@hidden>
- Date: Thu, 15 Apr 2004 06:07:13 -0400
Ah, I sent too soon. There's a method +isSubclassOfClass: that's
probably what you want.
On Apr 15, 2004, at 5:25 AM, Larry Fransson wrote:
>
Can anyone tell me why the following would generate the subject
>
warning?
>
>
[paneClass isKindOfClass:[NSObject class]
>
>
In this case, paneClass comes either from NSClassFromString() or a
>
bundle's principal class. I can't find a "+isKindOfClass:" anywhere.
>
I can find "-isKindOfClass:", though. Also odd is that if I close the
>
project after receiving the warning, reopen it and then build, the
>
warning no longer appears.
--
Kevin Ballard
email@hidden
http://www.tildesoft.com
http://kevin.sb.org
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.