Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以使用 Xcode 6.3 但仍使用 Swift 1.0? 使用 iOS 8.2 SDK 没有帮助,我找不到 Swift 版本的任何开关......
编辑:我在 Swift 1.0 中有一个扩展构建,我不想碰它,但更新我的主项目
如果您遇到语法问题,则可以将其转换为最新语法。也没有办法在 xcode 6.3 中使用 1.0
不,那是不可能的。Xcode 6.3 附带 Swift 1.2。如果您担心兼容性,您可以使用 Xcode 6.3 将您的 swift 1.0 代码转换为 Swift 1.2 Edit->Convert->To latest Swift syntax
Edit->Convert->To latest Swift syntax