Re: UTI strings
Re: UTI strings
- Subject: Re: UTI strings
- From: Jean-Daniel Dupas <email@hidden>
- Date: Mon, 31 May 2010 11:06:29 +0200
Le 31 mai 2010 à 10:53, julius a écrit :
> On 31 May 2010, at 09:43, Jean-Daniel Dupas wrote:
>>>>
>>>> This data is covered, but you may want to explore further the docs, a few books on cocoa, and sample apps from apple.
>>>> Look at how they handle this.
>>>> Ideally, look at open source or sample apps that handle similar file types to yours.
>>> Yes. But I have!!!
>>
>> And have you look at the way TextEdit do that ?
> As I said in my earlier missive
> "For instance I have been been studying TextEdit for a while now......"
>
>>
>> Hint: TextEdit sources are in /Developer/Examples/
>>
>> -- Jean-Daniel
>
> That's where I got my copy from.
>
> Can you perhaps tell me which UTI maps onto NSPlainTextDocumentType
You would guess on kUTTypePlainText
> and which onto NSMacSimpleTextDocumentType ....?
In 3 major releases Apple didn't managed to declare UTI for modern file formats like sdef,
so I doubt they defined an UTI for a dead file format like Simple Text.
-- Jean-Daniel
_______________________________________________
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