Re: class_respondsToSelector() in runtime.h?
Re: class_respondsToSelector() in runtime.h?
- Subject: Re: class_respondsToSelector() in runtime.h?
- From: Jonathon Kuo <email@hidden>
- Date: Thu, 1 Jul 2010 09:42:52 -0700
On Jul 1, 2010, at 7:56 AM, Matt Neuburg wrote:
> "Instance methods defined in a root class can be performed both by instances
> and by class objects. Therefore, all class objects have access to the
> instance methods defined in the root class."
Not that it would generally be USEFUL to do so, since the purpose of an instance is to hold instance variable values; a class object accessing instance variables through an instance method would come up with uninitialized ivar values, no?
_______________________________________________
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