Swift 2 Parse JSON Easily with One Line

Profile Picture
- Published on Mar 3, 2016馃審 Public

How to create the Facebook News Feed (Part 1): https://youtu.be/NJxb7EKXF3U Image Zooming Core Animation Tutorial: https://youtu.be/kzdI2aiTX4k Today we discuss how to easily parse JSON that come from either REST apis, web services, or static files. This is a task that many developers are faced with. However, many inconsistencies exist out there that lead to hard to maintain code and a proliferation of hacky Cocoapod libraries. The solution presented in this video requires no third party library and only uses what Apple has provided to us. You'll see how easily it is to setup your custom Class Objects with all of the necessary properties coming in from your JSON service. Google Json Parsing Challenge: https://ajax.googleapis.com/ajax/serv... (Hint: Use NSUrlSession.sharedSession().dataTaskWithUrl) Here's the completed project: https://github.com/purelyswift/easy_j... Follow me on twitter! https://twitter.com/buildthatapp/