Tutorial: Implementing Codable in Swift using REST API quick and easy
High School / Arts / Art
This short and quick tutorial demonstrates decoding the serialized object with Codable in Swift to parse REST APIs. Uses www.json4swift.com for generating models from api response. Sample Code can be downloaded from: Starter Sample: http://json4swift.com/tutorial/starter_sample.zip Final Project: http://json4swift.com/tutorial/final_codable_sample.zip Sample JSON http://www.jsonparser.xyz/results.php?snippet=json_5c0f3f2b93cac