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                                      
laur...@nemesys-soft.com

_______________________________________________

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