• 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: Other app blocks mine from opening my documents
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Other app blocks mine from opening my documents


  • Subject: Re: Other app blocks mine from opening my documents
  • From: Seth Willits <email@hidden>
  • Date: Tue, 10 Jun 2014 08:38:10 -0700

On Jun 10, 2014, at 5:29 AM, Uli Kusterer <email@hidden> wrote:

> Seems, between Panic and you registering their own UTIs for SQL files, the OS gets confused which is the actual type. AFAIK Apple assumes there is only one UTI for a type. So when it opens the file, it sees your app can do the extension, but when then looking up the UTI to go with that extension, it gives you Panic's UTI because it doesn't remember which of the registered UTIs was yours. Could that be it?

That's certainly what it seems like.


> I guess what you could do is try to register for Panic's UTI as well (and that of any other app that declares one for SQL files), then just internally map them all to your SQL document class?

The problem with that is there's probably 50 apps that could define this UTI as well. Not only I would I have to import all of their UTIs, they'd have to import mine and everyone else's too. Otherwise there's always the chance that any one of our apps would be rendered useless by simply having any of the other apps on the system too.


If that's really how it works, then UTIs are really seriously stupidly broken in this kind of case, and I just can't believe that's true.


The only real option I see is to not use UTIs at all.


--
Seth Willits




_______________________________________________

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: Other app blocks mine from opening my documents
      • From: Sean McBride <email@hidden>
References: 
 >Other app blocks mine from opening my documents (From: Seth Willits <email@hidden>)
 >Re: Other app blocks mine from opening my documents (From: Uli Kusterer <email@hidden>)

  • Prev by Date: Re: Best practices with singletons
  • Next by Date: Re: Set contents of CALayer to animated GIF?
  • Previous by thread: Re: Other app blocks mine from opening my documents
  • Next by thread: Re: Other app blocks mine from opening my documents
  • Index(es):
    • Date
    • Thread