Re: Getting list of classes
Re: Getting list of classes
- Subject: Re: Getting list of classes
- From: David Remahl <email@hidden>
- Date: Tue, 15 Jan 2002 20:28:59 +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
Look at the source of class-dump.
/ david