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 (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