/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

qnoid.com
| | ashishkakkad.com

Codable is added with Xcode 9, iOS 11 and Swift 4. Codable is used to make your data types encodable and decodable for compatibility with external representations such as JSON. Codable use to support both encoding and decoding, declare conformance to Codable, which combines the Encodable and Decodable protocols. This process is known as making ... Read more
1.5 parsecs

Travel
| |
| | williamboles.com

Dealing with a JSON network response in iOS projects used to be a pain - you would have to manually parse the response, extract the required values, ignore those that weren't needed, and build your model instances ?. Then came along `Codable` and all that changed.
1.0 parsecs

Travel
| |
| | benoitpasquier.com

Most of mobile apps interact at some point with remote services, fetching data from an api, submitting a form... Let's see how to use Codable in Swift to easily encode objects and decode JSON in couple lines of codes.
0.9 parsecs

Travel
| |
| | apontious.com

I had to handle a fun little challenge with Codable and unorthodox JSON recently (as you do). Apple's Codable API have been around for a while, and it's an example of the best kind of API: it makes the easy things easy, and the hard things possible. [ { "type": "Great White Shark", "movie": "Jaws",...
5.4 parsecs

Travel
|