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

UTI's and document packages


  • Subject: UTI's and document packages
  • From: Antonio Nunes <email@hidden>
  • Date: Mon, 26 Nov 2007 10:21:47 +0000

Hi,

I know how to create document packages the pre-Leopard way. For Leopard however, I believe the preferred way to define your app's Info.plist would be to use UTI's, which for the app at hand also makes much more sense than manually enumerating all the file formats enjoys being fed. However, if you include the LSItemContentTypes key, with its associated array of identifiers, in the plist, then the LSTypeIsPackage key is ignored and the finder won't treat the document folders as a document package. I tried setting the value of UTTypeConformsTo in UTExportedTypeDeclarations to public.composite- content hoping that that would result in the desired behaviour, but no such luck.

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?

-António

-----------------------------------------------------------
What you have inside you expresses itself through both your
choice of words and the level of energy you assign to them.
The more healed, whole and connected you feel inside,
the more healing your words will be.

--Rita Goswami
-----------------------------------------------------------


_______________________________________________

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


  • Follow-Ups:
    • Re: UTI's and document packages
      • From: "Sean McBride" <email@hidden>
    • Re: UTI's and document packages
      • From: Antonio Nunes <email@hidden>
  • Prev by Date: Re: Newbie question: NSDocument and standard file formats
  • Next by Date: Re: clearing (not erasing) when drawing from a thread
  • Previous by thread: Possible to control animation of appearance of images in IKImageBrowserView
  • Next by thread: Re: UTI's and document packages
  • Index(es):
    • Date
    • Thread