Skip navigation.
 
mlGetting list of classes
FROM : Drew McCormack
DATE : Mon Jan 14 20:16:07 2002

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


Related mailsAuthorDate
mlGetting list of classes Drew McCormack Jan 14, 20:16
mlRe: Getting list of classes David Remahl Jan 15, 20:28
mlRe: Getting list of classes Kurt Revis Jan 15, 20:42
mlRe: Getting list of classes John Hörnkvist Jan 15, 20:45
mlRe: Getting list of classes Bill Bumgarner Jan 16, 05:01