• 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: Imported UTI taking precedence over Exported UTI
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Imported UTI taking precedence over Exported UTI


  • Subject: Re: Imported UTI taking precedence over Exported UTI
  • From: Quincey Morris <email@hidden>
  • Date: Fri, 01 Jul 2016 13:26:47 -0700
  • Feedback-id: 167118m:167118agrif8a:167118sAA85i73Mk:SMTPCORP

On Jul 1, 2016, at 13:03 , Matthew LeRoy <email@hidden> wrote:
>
> Just to clarify, there’s only one file extension in question here.

Ah, apologies if I misread the original explanation.

> Our app declares an exported UTI for our file format, while the competitor’s app declares an imported UTI for our file format with the same file extension but with a slightly different UTI

I think you’re Doing It Wrong™ — or, really, the other (importing) app is. File extensions are a free-for-all, and they’re NOT definitive for the UTI. It’s the other way round.

So there’s no question of import/export “precedence” here, because the UTIs are different, and the congruence of the extensions is irrelevant. LS will pick one UTI from the extension based on its own whims, and one of the apps is out of luck.

If the 3rd party app is using a different UTI, it needs to be fixed to use the same UTI as your definitive exported UTI, regardless of extension.

I haven’t thought this through carefully, but you might be able to work around the problem by importing the 3rd-party (“wrong”) UTI in your bundle, as well as exporting the correct one. If the role in your bundle is “editor”, the LS may prefer your app when both are installed.

_______________________________________________

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: Imported UTI taking precedence over Exported UTI
      • From: Matthew LeRoy <email@hidden>
References: 
 >Imported UTI taking precedence over Exported UTI (From: Matthew LeRoy <email@hidden>)
 >Re: Imported UTI taking precedence over Exported UTI (From: Quincey Morris <email@hidden>)
 >Re: Imported UTI taking precedence over Exported UTI (From: Matthew LeRoy <email@hidden>)

  • Prev by Date: Re: Imported UTI taking precedence over Exported UTI
  • Next by Date: Re: Imported UTI taking precedence over Exported UTI
  • Previous by thread: Re: Imported UTI taking precedence over Exported UTI
  • Next by thread: Re: Imported UTI taking precedence over Exported UTI
  • Index(es):
    • Date
    • Thread