• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: UTI strings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UTI strings


  • Subject: Re: UTI strings
  • From: julius <email@hidden>
  • Date: Sun, 30 May 2010 17:47:47 +0100

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

  • Follow-Ups:
    • Re: UTI strings
      • From: Mike Abdullah <email@hidden>
References: 
 >UTI strings (From: julius <email@hidden>)
 >Re: UTI strings (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: Clicking links in webview does nothing
  • Next by Date: Re: Notification of file system modification arrives too early?
  • Previous by thread: Re: UTI strings
  • Next by thread: Re: UTI strings
  • Index(es):
    • Date
    • Thread