Swift 2.2 got released recently, and with the new version, Apple continues to show that they’re committed to this language. One of my favourite new features of Swift is the method, which can make our code more safe.

In Objective-C we have been used to be able to write:

Steffen D. Sommer

Technical leader from Copenhagen, Denmark. Excited about cutting edge technology. Love to travel and a big fan of boards 🏂🏄

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store