• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSBundle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: NSBundle (From: Nat! <email@hidden>)

  • Prev by Date: Re: NSBundle
  • Next by Date: document loading / startup problems
  • Previous by thread: Re: NSBundle
  • Next by thread: Wizards
  • Index(es):
    • Date
    • Thread