Andrew Ebling
Andrew Ebling

Reputation: 10283

Checklist for migrating to idiomatic Swift 2 (AKA where is the Swift 2 transition guide)?

I've been trying to locate a transition guide for Swift 2, in particular things developers should be aware of when migrating Swift 1/1.2 codebases over to Swift 2. Obviously you have the migration assistant in Xcode, but that only really covers the donkey work and not the stuff that requires a bit more intelligent thought.

Based on the resources I was able to find on Swift 2, I've put together the following checklist:

Sources:

https://developer.apple.com/swift/blog/?id=29

https://developer.apple.com/swift/

https://developer.apple.com/library/prerelease/ios/releasenotes/DeveloperTools/RN-Xcode/Chapters/xc7_release_notes.html#//apple_ref/doc/uid/TP40001051-CH5-SW1

https://developer.apple.com/videos/wwdc/2015/?id=106

http://www.raywenderlich.com/108522/whats-new-in-swift-2

What have I missed?

Part of the problem is that Swift 2 has continued to evolve past WWDC. So even this year's WWDC videos are already potentially out of date, or at least not the whole story.

Upvotes: 8

Views: 320

Answers (1)

Max Goodridge
Max Goodridge

Reputation: 373

Unfortunately, at this time there is no official "transition guide" from Apple as such.

The Swift Programming Language (Swift 2) is always updated by Apple whenever they release a new version of Swift and is therefore one of the best sources for up to date information about Swift 2 (or later). There is plenty of explanation and example code of the entire language, not just the changes, but this is definitely at least on of the best sources for the information you are looking for right now.

Upvotes: 1

Related Questions