Back to Feed
Video youtube

Encodable and Decodable | Swift 4, Xcode 9

Today we go over how to turn encode and decode data models to and from JSON using the Encodable and Decodable protocols with Swift 4. In this tutorial, you will learn how to make a post request using a Data model as a JSON parameter and see how to turn the response back into a data mode. Then we go over how to handle responses that contain arrays, nested objects, and how to access data from those Decodable objects.

The majority of apps make networking requests, and the responses to those reques

Watch on YouTube