FROM : Kyle Sluder
DATE : Fri Jul 25 19:49:46 2008
On Fri, Jul 25, 2008 at 1:38 PM, julius <<email_removed>> 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
DATE : Fri Jul 25 19:49:46 2008
On Fri, Jul 25, 2008 at 1:38 PM, julius <<email_removed>> 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
| Related mails | Author | Date |
|---|---|---|
| julius | Jul 25, 19:38 | |
| Kyle Sluder | Jul 25, 19:49 | |
| julius | Jul 25, 20:19 | |
| Kyle Sluder | Jul 25, 21:38 | |
| Adam R. Maxwell | Jul 25, 23:28 | |
| Kyle Sluder | Jul 26, 00:33 | |
| Adam R. Maxwell | Jul 26, 01:08 | |
| Jeff Johnson | Jul 26, 01:23 |






Cocoa mail archive

