=====[https://github.com/SwiftUIX/SwiftUIX SwiftUIX]=====
[https://qiita.com/yosshi4486/items/3d92f81feaabc1049b4c SwiftUIアプリケーション開発の不足を補うSwiftUIX]
===ファイル選択===
----
<pre>
let dialog = NSOpenPanel();
dialog.title = "Choose a file| Our Code World";
dialog.showsResizeIndicator = true;
dialog.showsHiddenFiles = false;
dialog.allowsMultipleSelection = false;
dialog.canChooseDirectories = false;
if (dialog.runModal() == NSApplication.ModalResponse.OK) {
let result = dialog.url // Pathname of the file
if (result != nil) {
let path: String = result!.path
print(path);
}
} else {
// User clicked on "Cancel"
return
}
</pre>