Re: isKindOfClass:
Re: isKindOfClass:
- Subject: Re: isKindOfClass:
- From: Sherm Pendley <email@hidden>
- Date: Sat, 8 May 2010 17:14:59 -0400
On Sat, May 8, 2010 at 3:51 PM, Kevin Callahan <email@hidden> wrote:
> isKindOfClass: is an instance method and doesn't work on a class you get from NSClassFromString().
Because NSObject is a root class (i.e. it has no superclass), you
*can* send its -isKindOfClass: message to a Class object. Instance
methods that belong to a root class are special that way.
sherm--
--
Cocoa programming in Perl:
http://www.camelbones.org
_______________________________________________
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