Now that Xcode 8 is really here, it’s about time we thought about updating some of our code to Swift 3.0. If you’ve started migrating to Swift 3.0 you know it can be a real pain. I’ve got plans to update a bunch of posts but let’s start with the simplest stuff: Making networking calls using
NSURLSession and parsing the resulting JSON.
The first thing you need to know is that it’s not called
NSURLSession anymore. In an effort to streamline our code (and make everything harder to google), tons of
NS prefixes have been removed in Swift 3.0.