「RaiseMan」という単純なドキュメントベースの Cocoa アプリがあります。ファイルを保存しようとすると、コンソールに次のメッセージが表示されます。
-[NSDocumentController fileExtensionsFromType:] is deprecated, and does not work when passed a uniform type identifier (UTI). If the application didn't invoke it directly then the problem is probably that some other NSDocument or NSDocumentController method is getting confused by a UTI that's not actually declared anywhere. Maybe it should be declared in the UTExportedTypeDeclarations section of this app's Info.plist but is not. The alleged UTI in question is "com.bignerdranch.raiseman-doc".
現在のファイルを「テスト」として保存すると、.plist として開き、Raiseman アプリでは開かないファイルになります。「Test.rsmn」(明示的に拡張子を入力) として保存すると、Raiseman タイプのファイルとして保存されますが、ファイルを再度開くと、ユーザー設定または設定パネル (.xib) にアクセスできません。 .
コンテキスト:私は現在、Aaron Hillegass のMac OS X 用プログラミング の第 13 章に取り組んでいます...