-
-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Swift: QuickStart #416
Comments
Swift 教程:
官方文档:
# 当前最新版本:
swift: 5.9
xcode: 15
资源:社区讨论: |
Swift 安装:
# macOS: 12.6.2
╰─>$ xcodebuild -version 12:55:16
Xcode 14.2
Build version 14C18
╰─>$ swift --version
swift-driver version: 1.62.15 Apple Swift version 5.7.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51)
Target: x86_64-apple-macosx12.0 Swift 创建一个新项目:
mkdir try-swift/
cd try-swift/;
# 初始化, 默认生产一堆模板文件
swift package init --type=executable
tree try-swift/ -L 3
try-swift/
├── Package.swift
├── README.md
├── Sources
│ └── try-swift
│ └── try_swift.swift
└── Tests
└── try-swiftTests
└── try_swiftTests.swift
5 directories, 4 files
cd try-swift/
# 编译+运行: 打印 hello
swift run
cd try-swift/
swift test Swift 配置开发环境:Swift + xcode 开发环境:
Swift + vscode 开发环境:
|
UI 框架:🔥 Swift UI:
🦄 官方:
状态:
参考:
🔥 UIKit:
|
1 |
3 similar comments
1 |
1 |
1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
📖 Abstract:
💯 Related:
The text was updated successfully, but these errors were encountered: