简体   繁体   中英

Sticking with Swift 1 and making app for IOS7 and above

I have few questions that I was considering while making an app. The app supports ios7 and above. Its being written in swift 1.2 and I came across few articles that it's better to switch the code to Swift 2. The problem is some frameworks that is being used does not support swift 2 just yet.

1) Is it possible to stick with swift 1.2 and continue deploying for iOS 7 and above?

2) Once Xcode 7 is official, do we need to update all the code to Swift 2 or can continue with Swift 1.2 for some time until all the frameworks upgraded to Swift 2.

Thank you

1) You don't have to switch to Swift 2 immediately, but you have to stick with Xcode 6 and there's some inconvenience such as not being able to test on iOS9.

2) It's easy to upgrade Swift 1.2 code to Swift 2, my opinion is to wait until the frameworks support Swift 2.

Good luck!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM