How To Update Swift Code from XCode.
Apple introduce the Swift language with different version. So that developer have to update code of swift.
Swift 2.3 code Which is run on Xcode 8.2.1, There are no requirement to convert code in Swift 3.0, But if you are open the Swift 2.3 code in Xcode 8.3 then you have to convert in Swift 3.0
Option 1 : Open the Swift 2.3 project in the xCode 8.3, There will display one popup to convert. click on convert for Swift 3.0.
Now you have to also select swift compiler version Swift 3.0, go to project > build setting > swift compiler - version.
Option 2 : you are also convert swift code via Xcode like . go to Edit > Convert > To Edit Swift Convert.
Thanks.
Swift 2.3 code Which is run on Xcode 8.2.1, There are no requirement to convert code in Swift 3.0, But if you are open the Swift 2.3 code in Xcode 8.3 then you have to convert in Swift 3.0
Option 1 : Open the Swift 2.3 project in the xCode 8.3, There will display one popup to convert. click on convert for Swift 3.0.
Now you have to also select swift compiler version Swift 3.0, go to project > build setting > swift compiler - version.
Option 2 : you are also convert swift code via Xcode like . go to Edit > Convert > To Edit Swift Convert.
Thanks.
How To Update Swift Code from XCode.
Reviewed by KIRIT MODI
on
21:06:00
Rating:
No comments: