Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Swift With Two Twos!

DZone's Guide to

Swift With Two Twos!

Swift 2.2 has just been released. Have a look at what's new, what's improved, and what's changed!

· Mobile Zone
Free Resource

Launching an app doesn’t need to be daunting. Whether you’re just getting started or need a refresher on mobile app testing best practices, this guide is your resource! Brought to you in partnership with Perfecto

It’s update day! New iOS 9.3, OS X 10.11.4, Xcode 7.3 (+ Alcatraz 1.17), and … Swift 2.2! Time to check out the latest changes — and to perk up your heart rate just a little bit, it’s “mostly source-compatible with Swift 2.1”. Which is true, but be prepared for many selector-related warnings:

We are very pleased to announce the release of Swift 2.2! This is first official release of Swift since it was open-sourced on December 3, 2015. Notably, the release includes contributions from 212 non-Apple contributors — changes that span from simple bug fixes to enhancements and alterations to the core language and Swift Standard Library.

Language Changes

Swift 2.2 is a minor language release that is mostly source-compatible with Swift 2.1. It contains the following language changes that went through the Swift’s evolution process:

Beyond these language changes Swift 2.2 also contains numerous bug fixes, enhancements to diagnostics, and produces even faster-running code…

Details on those bug fixes and diagnostics at swift/CHANGELOG.md and in the Xcode 7.3 release notes. Good discussion of the important changes over at hackingwithswift.com too:

What’s new in Swift 2.2

Naturally, those on top of things objc.io folk have their latest magnum opus Advanced Swift ready to go with 2.2 now, which looks like a worthwhile read: check out the online preview.

Keep up with the latest DevTest Jargon with the latest Mobile DevTest Dictionary. Brought to you in partnership with Perfecto.

Topics:
ios ,swift ,update ,release ,features ,apple ,mobile

Published at DZone with permission of Alex Curylo, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}