Re: Other app blocks mine from opening my documents

2014-06-12 Thread Sean McBride
On Tue, 10 Jun 2014 08:38:10 -0700, Seth Willits said: 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. Believe it. :) The only real option I see is to not use UTIs at all. Exactly. It's only really safe

Re: Other app blocks mine from opening my documents

2014-06-10 Thread Uli Kusterer
On 10 Jun 2014, at 04:36, Seth Willits sli...@araelium.com wrote: My app opens SQL files so I declared a UTI for it in Exported UTIs in the app Info.plist with my own identifier, uses sql as an extension, has a text/plain mime type, and conforms to public.plain-text. My app opens a new

Re: Other app blocks mine from opening my documents

2014-06-10 Thread Seth Willits
On Jun 10, 2014, at 5:29 AM, Uli Kusterer witness.of.teacht...@gmx.net 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

Other app blocks mine from opening my documents

2014-06-09 Thread Seth Willits
My app opens SQL files so I declared a UTI for it in Exported UTIs in the app Info.plist with my own identifier, uses sql as an extension, has a text/plain mime type, and conforms to public.plain-text. My app opens a new document window, I edit it, it autosaves, and on relaunch Cocoa yells at