0
私は現在開いているドキュメントのファイルパスを取得したいと思うSwiftのmacOSプロジェクトを持っています。これはどのように達成できますか?SwiftのmacOSプロジェクトで現在開いているドキュメントのファイルパスを取得する方法は?
編集:私は、アプリケーション自体の公開文書を意味します。通常、ウィンドウまたはタブとして表されます。
PS 私はこれらの質問をチェックしたが助けていない: How to get file path? Loading documents in Document based app Cocoa question: How to get file path for current open document for the front most application