List of available methods at runtime

  • Hey Everyone,

    I was wondering if there was a way for my Cocoa Application (in
    Objective-C 2.0) to get a list of methods in a given class at runtime.
    I've taken a look at the documentation on the Objective-C language and
    runtime, as well as the documentation for NSObject, and don't seem to
    see anything about listing the available methods. Is this possible?

    Thanks in Advance,
    Omar Qazi
    Synergick Software
    1.310.294.1593
  • On Dec 26, 2007, at 6:19 PM, Omar Qazi wrote:

    > I was wondering if there was a way for my Cocoa Application (in
    > Objective-C 2.0) to get a list of methods in a given class at
    > runtime. I've taken a look at the documentation on the Objective-C
    > language and runtime, as well as the documentation for NSObject, and
    > don't seem to see anything about listing the available methods.
    >
    class_copyMethodList is listed in the Objective-C 2.0 Runtime
    Reference...
    Is this not what you want?
    What are you trying to achieve?

    mmalc
previous month december 2007 next month
MTWTFSS
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31            
Go to today