• 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 Introspection with class_copyMethodList and class methods.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Class Introspection with class_copyMethodList and class methods.


  • Subject: Re: Class Introspection with class_copyMethodList and class methods.
  • From: Kevin Meaney <email@hidden>
  • Date: Tue, 26 Aug 2014 15:21:59 +0100

I think you might need objc_getMetaClass.

See https://github.com/nst/RuntimeBrowser/blob/master/model/ClassDisplay.m

For how it is used.

Kevin

On 26 Aug 2014, at 15:06, Alex Zavatone <email@hidden> wrote:

> I've been using the obj runtime to dump class methods, protocols, Ivars and properties for documentation, but when using class_copyMethodList I noticed that only class instance methods are returned, no class methods declared with a + are returned at all.
>
> I scanned the runtime docs and can't see how to get the class methods to be returned using the runtime.
>
> Any ideas on how to handle this?
>
> Using 10.8.5 and iOS 7.1 in Xcode 5.1.1
>
> Thanks in advance.
> _______________________________________________
>
> 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


_______________________________________________

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


References: 
 >Class Introspection with class_copyMethodList and class methods. (From: Alex Zavatone <email@hidden>)

  • Prev by Date: Class Introspection with class_copyMethodList and class methods.
  • Next by Date: Re: How to synchronize my MacOS-X application with Core-Data automatic Undo management?
  • Previous by thread: Class Introspection with class_copyMethodList and class methods.
  • Next by thread: Re: Class Introspection with class_copyMethodList and class methods.
  • Index(es):
    • Date
    • Thread