Re: class_respondsToSelector() in runtime.h?
Re: class_respondsToSelector() in runtime.h?
- Subject: Re: class_respondsToSelector() in runtime.h?
- From: Laurent Daudelin <email@hidden>
- Date: Wed, 30 Jun 2010 17:35:58 -0400
On Jun 30, 2010, at 16:55, Greg Parker wrote:
> On Jun 30, 2010, at 12:43 PM, Laurent Daudelin wrote:
>> I need to check for backward compatibility whether a given class object responds to a selector. I found the function 'class_respondsToSelector()' which the doc says is defined in 'runtime.h'.
>
> Is there some reason you can't call -respondsToSelector: on the class object?
>
Well, isn't -respondsToSelector: an instance method?
-Laurent.
--
Laurent Daudelin
AIM/iChat/Skype:LaurentDaudelin http://www.nemesys-soft.com/
Logiciels Nemesys Software email@hidden
_______________________________________________
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