Is Xcode 6.3 with Swift 1.0 possible?

孤街醉人 提交于 2019-12-19 15:28:20

问题


Is it possible to use Xcode 6.3 but stay with Swift 1.0?
Using the iOS 8.2 SDK does not help, and I could not find any switch for the Swift version ...

EDIT: I have an extension build in Swift 1.0 which I do not want to touch, but update my main project


回答1:


If you're having syntax problem then you can convert it to latest syntax. Also there is no way of using 1.0 in xcode 6.3




回答2:


No, that is not possible. Xcode 6.3 comes with Swift 1.2. If you are concerned about compatibility, you can convert your swift 1.0 code into Swift 1.2 using Xcode 6.3
Edit->Convert->To latest Swift syntax



来源:https://stackoverflow.com/questions/29555083/is-xcode-6-3-with-swift-1-0-possible

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!