Re: UTI strings
Re: UTI strings
- Subject: Re: UTI strings
- From: julius <email@hidden>
- Date: Sun, 30 May 2010 23:15:19 +0100
Ken hi,
thanks for responding.
On 30 May 2010, at 20:21, Ken Thomases wrote:
> 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.
>
I'm sorry but I've read and re-read this paragraph, in the original, a number of times including the relevant NSFileAttributeOption and NSFileTypeDocumentAttribute entries in NSAttributedString application kit additions reference and can't make head or tail of what is being talked about. Maybe it's something to do with the grammar. For me it does not parse.
http://developer.apple.com/Mac/library/documentation/Cocoa/Reference/ApplicationKit/Classes/NSAttributedString_AppKitAdditions/Reference/Reference.html#//apple_ref/doc/c_ref/NSFileTypeDocumentOption
I am totally bemused.
Julius
> Cheers,
> Ken
>
------------------------------------------------------
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