On Jan 30, 2013, at 15:47:11, Kevin Perry <kpe...@apple.com> wrote: > I admit I’m a little confused by your claims. All of NSDocument should > definitely be able to use UTIs in every modern API that refers to types.
It seems to be the default for it to work with type names instead of UTIs. After your message I experimented with giving UTIs to writableTypesForSaveOperation, and then the popup was populated with the type name strings from the UTExportedTypeDeclarations section of the Info.plist rather than from the CFBundleDocumentTypes section. Both lists contain identifiers for all the same types, but the human readable type names are slightly different. It was the type names from the CFBundleDocumentTypes section that were appearing in the popup before I overrode writableTypesForSaveOperation, and it was those type names that it returned to writeToURL. -- Steve Mills office: 952-818-3871 home: 952-401-6255 cell: 612-803-6157 _______________________________________________ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com