Re: Problem saving document with my doc icon
Re: Problem saving document with my doc icon
- Subject: Re: Problem saving document with my doc icon
- From: Kyle Sluder <email@hidden>
- Date: Sat, 13 Jul 2013 11:48:48 -0700
On Jul 13, 2013, at 11:38 AM, Peter Teeson <email@hidden> wrote:
> Well here is my Info.plist from the Build directory app Package Contents in XML form
Your Info.plist is lacking UTI declarations entirely. You need to declare an UTI for your document type, then specify that the CFBundleDocumentType maps to that UTI by adding the LSItemContentTypes key. The UTI you declare needs to confirm to com.apple.package in order for Launch Services to treat the folders your app writes as documents.
More information can be found:
- In the Uniform Type Identifiers Overview document
- In the Registering the File Types Your App Supports chapter of the Document Interaction Programming Topics (it applies to OS X as well)
- In the AppKit release notes for 10.4 and 10.5
--Kyle Sluder
_______________________________________________
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