Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting list of classes inside NSBundle



Am 19.10.2007 um 23:51 schrieb glenn andreas:
Not sure if that is as good of an idea - from the docs:

Due to the amount of uncertainty about the environment at the point that load is invoked, you should avoid using load whenever possible.

Well, this is mitigated a lot for loadable bundles, though. There, you're pretty much guaranteed that the app has already been loaded, you just shouldn't use any other classes in your bundle yet. But getting your own class object and adding it to an NSMutableArray in the app itself is hunky-dory.


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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Getting list of classes inside NSBundle (From: Jason <email@hidden>)
 >Re: Getting list of classes inside NSBundle (From: Douglas Davidson <email@hidden>)
 >Re: Getting list of classes inside NSBundle (From: Jason <email@hidden>)
 >Re: Getting list of classes inside NSBundle (From: Uli Kusterer <email@hidden>)
 >Re: Getting list of classes inside NSBundle (From: glenn andreas <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.