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 <jul...@juliuspaintings.co.uk> 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 (Cocoa-dev@lists.apple.com) > > 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: > http://lists.apple.com/mailman/options/cocoa-dev/cocoadev%40mikeabdullah.net > > This email sent to cocoa...@mikeabdullah.net _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com