• 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
Iterating over a classes methods?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Iterating over a classes methods?


  • Subject: Iterating over a classes methods?
  • From: Victor Ng <email@hidden>
  • Date: Tue, 24 Dec 2002 02:47:04 -0500

Is there a way to iterate over the list of messages that an object will respond to?

From my digging around in the Cocoa docs - it looks like I can only check :

- if an object is an instance of some class
- if an object conforms to some protocol
- or if an object can respond to a selector that I know of before hand.

I want to just get a list of all messages that an object can respond to and print those method names.

vic
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Iterating over a classes methods?
      • From: "John C. Randolph" <email@hidden>
    • Re: Iterating over a classes methods?
      • From: Timothy Ritchey <email@hidden>
  • Prev by Date: Distinguishing between HFS and HFS+
  • Next by Date: Re: NSCFNumber, no pool in place - just leaking
  • Previous by thread: Re: Distinguishing between HFS and HFS+
  • Next by thread: Re: Iterating over a classes methods?
  • Index(es):
    • Date
    • Thread