Re: Messed up UTIs in NSDocument-based application
Re: Messed up UTIs in NSDocument-based application
- Subject: Re: Messed up UTIs in NSDocument-based application
- From: Kyle Sluder <email@hidden>
- Date: Thu, 12 Jan 2012 22:32:01 -0800
On Tue, Jan 10, 2012 at 7:26 PM, Donald Ness <email@hidden> wrote:
> To recap, I released a document-based application with this:
>
> Document Types:
> 1.) Name: "My Document", Extension: "myext", Identifier: ""
>
> Exported UTIs: (none)
> Imported UTIs: (none)
>
> And now I have this:
>
> Document Types:
> 1.) Name: "My Document", Extension: "myext", Identifier: "com.mycompany.myext"
> 2.) Name: "My XML Document", Extension: "xml", Identifier: "public.xml"
>
> Exported UTIs: "com.mycompany.myext"
> Imported UTIs: "public.xml"
You should really post your exact plists here. It is important to be
precise about which plist keys we're talking about.
>
> However, I my main document type is grayed out in the open dialog now. I'm at a loss as to how file types are associated with applications, and how to fix this issue.
>
> I really want to clean this up, so what's the best way to do so?
You should start by removing the CFBundleTypeExtensions keys, assuming
that's what "Extension" means here. The UTI declaration is responsible
for declaring the extensions.
--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