Re: Problem getting import UTI recognised
Re: Problem getting import UTI recognised
- Subject: Re: Problem getting import UTI recognised
- From: Kyle Sluder <email@hidden>
- Date: Wed, 15 Oct 2014 20:19:52 -0700
On Oct 15, 2014, at 8:14 PM, Graham Cox <email@hidden> wrote:
>
> Hi all,
>
> My app declares 3 UTIs for import, which are basically the same as the document types it supports.
>
> It imports two of the types fine, but the other (which is actually the default native format) it refuses to accept - I get a message to say that my app cannot open documents of such-and-such format, and my document's -readFromData:ofType:... isn't even called. It writes files of this type OK, but in the Finder they have the generic icon and the 'Kind' is just "Document" instead of the correct description.
>
> My native UTI is declared in the usual way, in reverse dot.com form, and this conforms to public.content, unpackaged. The export UTIs are the same.
>
> I must be missing something pretty obvious, but I'm at a loss.
Is there another app on your system declaring that file extension for its own UTI? You can dump the database with lsregister(1).
--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