Code migration from Swift 2.x to Swift 4
问题 We have big enough project which is built up with Swift 2.x and now Apple has just released Swift 4 so to move forward for latest version of Swift which path we can choose... Do we need to migrate our code to Swift 3 first? Or we can directly migrate our code to Swift 4 using Xcode 9? 回答1: Yes, you must migrate your code in Swift 3 compatible version. Xcode 9 allows conversion/migration from swift 3.0 only. Swift 3.2 is supported by Xcode 9 & Xcode 8 both. Convert your source code from Swift