Re: telling when a directory is really a bundle
Re: telling when a directory is really a bundle
- Subject: Re: telling when a directory is really a bundle
- From: "Dirk Stegemann (Mailing-Lists)" <email@hidden>
- Date: Mon, 22 Oct 2007 16:19:05 +0300
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:
This email sent to email@hidden