Loading...

How to make REST API calls & parse JSON with Swift 2.0

Category: Education, Duration: 5:58, 38026 Views. Source: YouTube, Published by Deege U on 2015-09-25T13:00:30.000Z ** NOTE: Code has changed dramatically from Swift 2.0 to 3.1. The video no longer matches the example code in GitHub, but the concepts are similar. ** Pulling a random stat out of thin air, I'd say 90% of web APIs are REST APIs. Don't quote me on the percent, like I said, I made it up. The point is, there's alot of data behind REST APIs and we need to know how to connect our iOS apps to get that data. In this tutorial, we're going to write Swift code to perform a GET and a POST request. ▼ Like the video? Don't forget to subscribe! ➜ http://www.deegeu.com/subscribe ▼ Keep up to date with the newsletter! ➜ http://www.deegeu.com/newsletter/ Transcript and code: http://www.deegeu.com/ios-swift-rest-json-tutorial/ https://github.com/deege/deegeu-swift-rest-example Concepts: iOS, swift, REST, JSON, web services, iphone, ipad Social Links: Don't hesitate to contact me if you have any further questions. WEBSITE : [email protected] TWITTER : http://www.twitter.com/deege FACEBOOK: https://www.facebook.com/deegeu.programming.tutorials GOOGLE+ : http://google.com/+Deegeu-programming-tutorials About Me: http://www.deegeu.com/about-programming-tutorial-videos/ Related Videos: https://www.youtube.com/playlist?list=PLZlGOBonMjFXDbJvSkkrUeoJU4aXW6qui Media credits: All images are owned by DJ Spiess unless listed below: Cat image from pixabay.com licensed under CC0 Bag image from pixabay.com licensed under CC0 Clock image from pixabay.com licensed under CC0 No copyright infringement intended. Music: Easy Jam by Kevin MacLeod is licensed under a Creative Commons Attribution license (https://creativecommons.org/licenses/by/4.0/) Source: http://incompetech.com/music/royalty-free/index.html?isrc=USUAN1100245 Artist: http://incompetech.com/