Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: telling when a directory is really a bundle



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

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>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.