• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: class_respondsToSelector() in runtime.h?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: class_respondsToSelector() in runtime.h?


  • Subject: Re: class_respondsToSelector() in runtime.h?
  • From: Greg Parker <email@hidden>
  • Date: Wed, 30 Jun 2010 13:55:17 -0700

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?


--
Greg Parker     email@hidden     Runtime Wrangler


_______________________________________________

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

  • Follow-Ups:
    • Re: class_respondsToSelector() in runtime.h?
      • From: Laurent Daudelin <email@hidden>
References: 
 >class_respondsToSelector() in runtime.h? (From: Laurent Daudelin <email@hidden>)

  • Prev by Date: Re: class_respondsToSelector() in runtime.h?
  • Next by Date: Re: class_respondsToSelector() in runtime.h?
  • Previous by thread: Re: class_respondsToSelector() in runtime.h?
  • Next by thread: Re: class_respondsToSelector() in runtime.h?
  • Index(es):
    • Date
    • Thread