UPGRADE YOUR SKILLS: Learn advanced Swift and SwiftUI on Hacking with Swift+! >>

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 RevenueCat

SPONSORED Take the pain out of configuring and testing your paywalls. RevenueCat's Paywalls allow you to remotely configure your entire paywall view without any code changes or app updates.

Learn more here

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

BUY OUR BOOKS
Buy Pro Swift Buy Pro SwiftUI 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 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 Beyond Code

Was this page useful? Let us know!

Average rating: 2.0/5

 
Unknown user

You are not logged in

Log in or create account
 

Link copied to your pasteboard.