Re: defer loading window using bundles in XCode 3 Leopard
Re: defer loading window using bundles in XCode 3 Leopard
- Subject: Re: defer loading window using bundles in XCode 3 Leopard
- From: "Kyle Sluder" <email@hidden>
- Date: Fri, 25 Jul 2008 13:49:46 -0400
On Fri, Jul 25, 2008 at 1:38 PM, julius <email@hidden> wrote:
> I want to defer loading a window/panel plus controller and related code by
> using bundles.
Do you really not want to include the code inside your executable?
Bundles are typically used by the application developer when the
existence of the code must be conditional or is not known at compile
time, like OS-version-dependent features or enabling third-party
plugins. If your aim is to use bundles to keep code out of your
executable, don't. It doesn't give you anything; your code still sits
in quadruplicate on the disk whether it's part of your main executable
or a dylib. Keep whatever object instances you can in a lazily-loaded
nib, but don't undergo the hassle of using bundles for no reason.
--Kyle Sluder
_______________________________________________
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