FREE COURSE! I am compiling this series into a free course for easier viewing. There are also quizzes to reinforce learning, and resources for downloading source code and the Postman API request collections. Get it here: https://jonnybcodes.com/p/learn-apis/
In this video we refactor our network calls and learn all about closures and completion handlers:
Further reading:
https://cocoacasts.com/what-do-escapi...
https://www.swiftbysundell.com/articl...
https://www.swiftbysundell.com/articl...
https://docs.swift.org/swift-book/Lan...
We learn how to get the data from an image url, turn it into a UIImage, and display it. It's gonna be fun!
Series synopsis:
Ever felt like you couldn't figure out what app to build? Well, this series of videos is just for you! In these lessons I am going to use a bunch of public APIs to build a bunch of small apps. My goal throughout this series is to explain what an API is, how to communicate with and retrieve data from an API, the different types of authentication, different methods of making network requests, different methods of parsing data, and how to utilize not just GET but also POST requests.
Public API sites shown in video:
https://github.com/public-apis/public...
https://public-apis.xyz
https://alexwohlbruck.github.io/cat-f...
https://superheroapi.com
https://swapi.co
https://pokeapi.co
Want to learn more? Checkout my Patreon page: / jonnybcodes
And follow me here:
Twitter: / jonnybcodes
Instagram: / jonnybcodes