On Jul 22, 2009, at 12:00 PM, Robert Mullen wrote:
Is there a way to actually list all the classes in a given bundle? I know I can look one up if I know the name but I would like to actually be able to present a list.
If the bundle is loaded, you should be able to iterate through all the classes in the system (using the various routines in the runtime), and check to see if bundleForClass returns the bundle you are looking for.
If it hasn't been loaded, you can parse the macho file format and examine the objective-c sections, but that's a lot of work...
Glenn Andreas gandr...@gandreas.com <http://www.gandreas.com/> wicked fun! Mad, Bad, and Dangerous to Know _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com