Re: UTI's and document packages
Re: UTI's and document packages
- Subject: Re: UTI's and document packages
- From: Antonio Nunes <email@hidden>
- Date: Mon, 26 Nov 2007 11:39:39 +0000
On 26 Nov 2007, at 10:21, Antonio Nunes wrote:
Is there any way to define the info plist's document types using the
new recommended UTI based way, and still have your document packages
correctly displayed by the finder and related services?
Ok, after some more rambling through the docs I'm happy to be able to
answer my own question:
There is a UTI type identifier living by the name of
"com.apple.package". After adding that under the "UTTypeConformsTo"
heading the document directories are treated as packages.
This is what I have now, and it appears to work:
<key>UTExportedTypeDeclarations</key>
<array>
<dict>
<key>UTTypeConformsTo</key>
<array>
<string>public.item</string>
<string>public.composite-content</string>
<string>com.apple.package</string>
</array>
For I'm a jolly good fellow 3x, etc,
António
----------------------------------------------------
There is a world of difference between
searching for happiness and choosing
to be happy.
----------------------------------------------------
_______________________________________________
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