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



Hello,

Am 22.10.2007 um 15:35 schrieb Martin Redington:

http://developer.apple.com/documentation/CoreFoundation/Conceptual/ CFBundles/Concepts/BundlesAndFinder.html#//apple_ref/doc/uid/ 20002127-BAJIBGGC

A directory is a package if:

1) it has a known suffix .app, .bundle, etc.
2) it has the bundle bit set
3) it has a known structure indicating its a bundle

I wonder about suffices which are known on one system but not in the other...


For example, I copied an .xcodeproj bundle to a system which didn't have the Xcode tools installed. The Finder treated the bundle as ordinary folder; is this intended behaviour?

Following the requirements list given above (and assuming the three requirements are AND'd), it would be correct behaviour, because the .xcodeproj bundle type is unknown on that system.
Still, it would be nice if that bundled document would have been recognised as "some bundled document" with unknown corresponding application...


Best,
Dirk Stegemann




_______________________________________________

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



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.