Re: NSBundle
Re: NSBundle
- Subject: Re: NSBundle
- From: David Remahl <email@hidden>
- Date: Tue, 03 Jul 2001 11:52:42 +0200
I believe what Eric was recommending was something more like this:
>
>
>
> MyApp.app
>
> Contents
>
> MacOS
>
> MyApp
>
> Resources
>
> bible
>
> bibledata
>
> English.lproj
>
> MyApp.nib
>
>
>
> Then in MyApp,
>
>
>
> [theTask setLaunchPath:[[NSBundle mainBundle] pathForResource:@"bible"
>
> ofType:@""]];
>
>
>
>
>
> Douglas Davidson
>
>
>
>
I always wanted to ask this: Why is there a "Contents" folder inside the
>
bundle ? Contents is such a generic term, that it'd be not meaningful to
>
put anything outside of Contents (IMO). At least I have never seen
>
anything besides "Contents" there. Maybe Mac OS X would even be a
>
smidgen faster, if Apple would get rid of it ?
>
>
Nat!
I actually think the fact that a folder is seen as a bundle is due to that
it contains a Contents folder, but I'm not sure...I once created a contents
folder in my home dir and it turned opaque.
/ david