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

Опубликовано: 25 Сентябрь 2015
на канале: Deege
40,135
283

** 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-...
https://github.com/deege/deegeu-swift...

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 :   / deege  
FACEBOOK:   / deegeu.programming.tutorials  
GOOGLE+ : http://google.com/+Deegeu-programming...

About Me: http://www.deegeu.com/about-programmi...

Related Videos:
   • The iOS/Swift Survival Guide - Swift ...  

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/...)
Source: http://incompetech.com/music/royalty-...
Artist: http://incompetech.com/