• 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: telling when a directory is really a bundle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: telling when a directory is really a bundle


  • Subject: Re: telling when a directory is really a bundle
  • From: Uli Kusterer <email@hidden>
  • Date: Mon, 22 Oct 2007 17:09:44 +0200

On 22.10.2007, at 16:53, Martin Redington wrote:
I think that the behaviour you're seeing is as intended. I haven't played around with the bundle bit, buts its possible that you can set this to get the bundle recognized as such. My quick test indicated that its rarely set, at least on .app's. The docs imply that its only valid for files in any case, which would account for that, and rule out it's use in your case.

You've fallen for a misleading bit of outdated information there:

The Bundle Bit used to indicate whether a *file* contained a BNDL resource (roughly equivalent to the CFBundleDocumentTypes array in today's Info.plists). That's why it was originally documented as only suitable for files.

However, if you set it on a folder, it will there indicate that this folder is actually a file package, or "bundle" as it is sometimes called. This is a new usage introduced with OS 9, which is why there's still lots of docs out there that claim differently.

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:
This email sent to email@hidden


References: 
 >telling when a directory is really a bundle (From: Martin Redington <email@hidden>)
 >Re: telling when a directory is really a bundle (From: "Dirk Stegemann (Mailing-Lists)" <email@hidden>)
 >Re: telling when a directory is really a bundle (From: Martin Redington <email@hidden>)

  • Prev by Date: Re: telling when a directory is really a bundle
  • Next by Date: Text wrap in NSTextView-> how to get wrapped NSString
  • Previous by thread: Re: telling when a directory is really a bundle
  • Next by thread: Re: telling when a directory is really a bundle
  • Index(es):
    • Date
    • Thread