Re: UTI strings
Re: UTI strings
- Subject: Re: UTI strings
- From: Ken Thomases <email@hidden>
- Date: Sun, 30 May 2010 14:21:14 -0500
On May 30, 2010, at 1:04 PM, julius wrote:
> unless of course there's a way of specifying the constants for NSAttributedString using the kUTTypes that I've not found yet
The Snow Leopard AppKit release notes <http://developer.apple.com/mac/library/releasenotes/cocoa/appkit.html> include this:
> NSAttributedString Constants
>
> The existing NSDocumentTypeDocumentAttribute and NSDocumentTypeDocumentOption express document types in terms of a set of constants particular to NSAttributedString. In Snow Leopard, there are new constants, NSFileTypeDocumentAttribute and NSFileTypeDocumentOption, that express the same information in terms of system-wide UTIs. Where these are used for output, in expressing the type of a document that has been read, both file type and document type will be provided; as input, however, when indicating the type to be written or the type to be forced on loading, the two are mutually exclusive.
Cheers,
Ken
_______________________________________________
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