Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can Swift 1 code run on iOS 9?

Tags:

xcode

ios

swift

I was wondering if anyone knows whether or not Swift (version 1) Code will be able to be run on iOS 9, or if the syntax will need to be updated to allow it. I'm assuming you probably don't have to update the code, but if anyone has any opinions please do share!

like image 225
Chris Gilardi Avatar asked Dec 11 '22 22:12

Chris Gilardi


1 Answers

Xcode 7 will ship with a Swift Migrator tool (similar to the Swift 1.1 to 1.2 migrator used in Xcode 6), which will help developers migrate Swift 1.2 projects to work with Swift 2.

Projects written with Swift 1.x in Xcode versions previous to 7 will run on iOS 9. Any projects written with Xcode 7 must use Swift 2.

For more information, check out the Swift Resources page on Apple's Developer Portal

like image 62
JAL Avatar answered Dec 29 '22 11:12

JAL