Re: UTI strings
Re: UTI strings
- Subject: Re: UTI strings
- From: Mike Abdullah <email@hidden>
- Date: Sun, 30 May 2010 18:33:10 +0100
This should give a decent overview of the main system types:
http://www.mikeabdullah.net/utis_diagram/
On 30 May 2010, at 17:47, julius wrote:
> Kyle Thanks
>
> I'm obviously missing something, what type for instance maps onto NSPlainTextDocumentType?
> I'm currently working my way down the UTI list by a process of elimination, i.e. put a UTI into the Info.plist then try to save a document as that type and see if my choice of document type raises an error. But that's slow, e.g.
>
> zDict = [NSDictionary dictionaryWithObjectsAndKeys:NSRTFDTextDocumentType, NSDocumentTypeDocumentAttribute, nil];
> NSData * zData = [self.nsTextStorageObj dataFromRange:zRange
> documentAttributes:zDict
> error:outError];
> Julius
>
> On 30 May 2010, at 17:29, Kyle Sluder wrote:
>
>> On Sun, May 30, 2010 at 9:22 AM, julius <email@hidden> wrote:
>>> I'm having difficulties finding the Uniform Type Identifier strings that correspond to the document types associated with the NSDocumentTypeDocumentAttribute key as specified in the NSAttributedString Application Kit Additions Reference
>>
>> /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h
>>
>> --Kyle Sluder
>
> ------------------------------------------------------
> 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
_______________________________________________
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