swift - 我可以通过在 ubuntu bash 上编程来创建 Swift GUI 界面吗?

标签 swift ubuntu visual-studio-code subsystem

我对 swift 非常陌生,我创建了如何在 Windows 10 上安装 ubuntu 子系统,并且我想创建在 Windows 上的 ubuntu bash 上工作的 Swift GUI 界面。
我可以吗?有什么办法可以从 Windows 上的 VSCode 做到这一点?

最佳答案

不幸的是,在 Windows 或 Linux 上使用 Swift 构建 UI 是不可能的,因为您需要 UIKit 或 SwiftUI 来完成它,而这些库仅适用于 Apple 设备。

关于swift - 我可以通过在 ubuntu bash 上编程来创建 Swift GUI 界面吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/68103037/

相关文章:

未强制执行 php7 超时

ruby - 如何在 ubuntu 18.04 上安装 vagrant 2.2.0?

php - 如何为 Xdebug 3.0 版本设置 VSCode launch.json?

django - Visual Studio Code 下的 Django 应用单元测试问题

ios - 隐藏 Firebase 崩溃报告

ios - 如何在按钮单击时打开 UIPageViewController

php - 如何使用 PHP 更改文件的 Title 属性

ios - 使用引用条码字符串生成 UPC-A 条码图像

objective-c - 在桥接 Objective C 文件中使用 Swift 类

python - (Visual Studio代码上的Python)SyntaxError : invalid syntax