Re: Getting list of classes inside NSBundle
Re: Getting list of classes inside NSBundle
- Subject: Re: Getting list of classes inside NSBundle
- From: Uli Kusterer <email@hidden>
- Date: Fri, 19 Oct 2007 22:57:01 +0200
Am 19.10.2007 um 20:42 schrieb Jason:
Oh, I have no problem with having to load it. I assumed that I
would have
to, and it looks like once I do, I'll be up and running. Thanks to
everyone
for the quick replies!
Just in case you're not aware: There's a +load method that gets
called on every class when it's loaded. If you want this list so you
can register certain classes with a central registry, it might be
more elgant, efficient and easier to just have a +load method that
adds [self class] to your registry.
Cheers,
-- M. Uli Kusterer
http://www.zathras.de
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden