• 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
Getting list of classes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Getting list of classes


  • Subject: Getting list of classes
  • From: Drew McCormack <email@hidden>
  • Date: Mon, 14 Jan 2002 20:16:07 +0100

Is it possible to get a list of all classes in an application? So, is there a method to return an array of all loaded classes?
I've looked in NSBundle, and NSApplication, and can't find anything.
Basically, I'm trying to avoid having to make a table of classes myself. I thought it would be neat if I could just loop through all the classes, sending each a "respondsToSelector:" message to making auxiliary lists of classes for specific purposes.

Drew McCormack


  • Follow-Ups:
    • Re: Getting list of classes
      • From: John Hörnkvist <email@hidden>
    • Re: Getting list of classes
      • From: Kurt Revis <email@hidden>
    • Re: Getting list of classes
      • From: David Remahl <email@hidden>
  • Prev by Date: Re: NSFileManager buggy?!?
  • Next by Date: Re: Getting list of classes
  • Previous by thread: Re: resizing a NSView
  • Next by thread: Re: Getting list of classes
  • Index(es):
    • Date
    • Thread