Xcode 9.0 beta 版自动建议的默认 Swift 版本是什么?
是 Swift 3 还是 Swift 4?
最佳答案
有关更多引用,您可以从 apple 获取文档
You can use Xcode 9 to build targets that are written in either Swift 4 or Swift 3.
When the Swift 4 compiler is working with Swift 3 code, it identifies its language version as 3.2. As a result, you can use conditional compilation blocks like #if swift(>=3.2) to write code that’s compatible with multiple versions of the Swift compiler.
关于swift - Xcode 9.0 版自动建议的默认 Swift 版本是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46190270/