Re: UTI strings
Re: UTI strings
- Subject: Re: UTI strings
- From: julius <email@hidden>
- Date: Mon, 31 May 2010 10:28:34 +0100
On 31 May 2010, at 10:23, Ken Thomases wrote:
> On May 31, 2010, at 4:06 AM, Jean-Daniel Dupas wrote:
>
>> Le 31 mai 2010 à 10:53, julius a écrit :
>>
>>> and which onto NSMacSimpleTextDocumentType ....?
>>
>> In 3 major releases Apple didn't managed to declare UTI for modern file formats like sdef,
>
> $ mdls foo.sdef
> ...
> kMDItemContentType = "com.apple.scripting-definition"
> kMDItemContentTypeTree = (
> "com.apple.scripting-definition",
> "public.xml",
> "public.text",
> "public.data",
> "public.item",
> "public.content"
> )
> ...
>
>
>> so I doubt they defined an UTI for a dead file format like Simple Text.
>
> $ mdls bar.txt
> ...
> kMDItemContentType = "com.apple.traditional-mac-plain-text"
> kMDItemContentTypeTree = (
> "com.apple.traditional-mac-plain-text",
> "public.plain-text",
> "public.text",
> "public.data",
> "public.item",
> "public.content"
> )
> ...
> kMDItemKind = "SimpleText Document"
> ...
>
> Regards,
> Ken
>
Marvellous.
Thanks. Great clues. Great help.
Julius
------------------------------------------------------
http://juliuspaintings.co.uk
_______________________________________________
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