• 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: Messed up UTIs in NSDocument-based application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Messed up UTIs in NSDocument-based application (From: Donald Ness <email@hidden>)

  • Prev by Date: Re: Is slowing down bindings updates possible?
  • Next by Date: Core Data nested managed object contexts and frequent deadlocks
  • Previous by thread: Messed up UTIs in NSDocument-based application
  • Next by thread: Re: Messed up UTIs in NSDocument-based application
  • Index(es):
    • Date
    • Thread