• 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: UTI's and document packages
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >UTI's and document packages (From: Antonio Nunes <email@hidden>)

  • Prev by Date: Re: clearing (not erasing) when drawing from a thread
  • Next by Date: New Podcast for Mac Developers
  • Previous by thread: UTI's and document packages
  • Next by thread: Re: UTI's and document packages
  • Index(es):
    • Date
    • Thread