NEW: Got a question? Get help on our new forums! >>

What’s new in Swift?

Keep track of all language changes in one place

Paul Hudson       @twostraws

The evolution of Swift shows no sign of slowing down, and over the years I’ve done my best to provide hands-on examples of Swift as its has moved from 2.0 to 2.2, 3.0, 3.1, 4.0, 4.1, and 4.2.

Of course, the problem is that not everyone is able to keep their code fully upgraded, which meant moving from 3.1 to 4.2 meant having to read three different articles and watch out for places where one change was changed even further later on.

To solve this problem once and for all I just released a new site: www.whatsnewinswift.com. This lets you select which Swift version you currently use along with the version you want to learn about, and provides a list of all the changes between those two versions along with code examples.

This new site won’t replace me writing articles or creating interactive playgrounds (see here or here for example), but it will at least give folks one central place where they can see what’s new without lots of clutter.

Hacking with Swift is sponsored by Instabug

SPONSORED Catch bugs as soon as they happen and know exactly why a crash occurred by integrating Instabug's SDK in one minute. You will automatically receive device data, network logs, and reproduction steps with every bug and crash report.

Learn more and get started for free

Sponsor Hacking with Swift and reach the world's largest Swift community!

Snapthread is a casual video editor and slideshow maker that makes discovering, compiling and sharing your favorite memories effortless.

BUY OUR BOOKS
Buy Pro Swift Buy Swift Design Patterns Buy Testing Swift Buy Hacking with iOS Buy Swift Coding Challenges Buy Swift on Sundays Volume One Buy Server-Side Swift (Vapor Edition) Buy Advanced iOS Volume One Buy Advanced iOS Volume Two Buy Advanced iOS Volume Three Buy Hacking with watchOS Buy Hacking with tvOS Buy Hacking with macOS Buy Dive Into SpriteKit Buy Swift in Sixty Seconds Buy Objective-C for Swift Developers Buy Server-Side Swift (Kitura Edition) Buy Beyond Code

About the author

Paul Hudson is the creator of Hacking with Swift, the most comprehensive series of Swift books in the world. He's also the editor of Swift Developer News, the maintainer of the Swift Knowledge Base, and a speaker at Swift events around the world. If you're curious you can learn more here.

Was this page useful? Let us know!