Swift 2.3 - What will be the date of your death?

Hi team.


What is the expected date for Swift 3.x to be required?


Will it be along with the release of IOS 11 or will it be before?

Note that Apple tends to avoid discussing future dates such as this in public.


You might want to check swift.org for hints, tho.

What is the expected date for Swift 3.x to be required?

Required by what? Or perhaps you’re talking about who?

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

I think if you have time, upgrade your code base to swift 3.x ASAP

From the Xcode 8.3 release notes...


"Xcode 8.3 no longer supports Swift 2.3. Please migrate your projects containing Swift 2.3 code to Swift 3 syntax by opening the project and choosing Edit > Convert > To Current Swift Syntax."


Over time, Apple resets the base version of Xcode required for submissions. Your guess as to when that base version will be set to 8.3.


Personally, I jumped on Swift 3.x changes last July. It was huge. It was painful. But I am so glad to have done it early. And, my code is definitely improved in terms of readability and consistency. There is at least one WWDC 2016 video that goes over in great detail the changes along with best practices.

Maybe because I was mostly upgrading Sprite Kit games, all the projects I updated (and it was a lot) were pretty easy. I let Xcode take the first pass, and for the most part it updated the code fine. In some cases I had to do a little clean up, but overall it wasn't painful.


So yeah, I agree, just update the code already. It's probably not that hard.

Most of my work came from renaming almost every API. e.g. 'addStudentWithName(aName: String)' to 'addStudent(named aName: String)'. Also, amongst other recommendations, observing the 'ed' and 'ing' rules. One doesn't need to rename everything (I could have left it at 'addStudentWithName(_ aName: String)', but I wanted to fully embrace things.

Swift 2.3 - What will be the date of your death?
 
 
Q