Fresh Beginning
  • Home
  • Speaking
  • Reading
  • Github
  • Alma Mater
  • Contact

Codable

A collection of 4 posts

Codable, Custom Decoding, NumberFormatter, CurrencyFormatter

Codable - Applying Data Transformations

Codable may not just all be blindly transforming JSON data into model objects, but you can also apply formatting to it. Examples of formatters include, but not limited to date formatters, URLs, and

  • Jayesh Kawli
5 min read
Codable, Decodable, Swift 4.1, decoding strategy, Custom decoding strategy

Codable - Dealing with built-in and custom `keyDecodingStrategy`

Apple introduced a keyDecodingStrategy parameter as a part of Swift 4.1 release. Although it's been out for a while, it's a huge change. We have many instances where server and mobile apps

  • Jayesh Kawli
5 min read
Swift, iOS, Codable, Swift 4.0, Encodable, Decodable, Swift 4.1

Using Codable Protocol in Swift 4.1

Swift 4 Codable protocol to decode and encode json data and model objects. Explained with examples.

  • Jayesh Kawli
10 min read
Swift 4.1, Encodable, Decodable, Codable, Encoding, Decoding, Example, Demos, App Development, Development, Bleeding edge, Latest

Swift 4.1 feature - keyEncoding/keyDecoding strategy

Can't believe it's been 3 and half years but I still didn't run a single Swift program over command line. However, that is no longer going to happen. The occasion is an unreleased

  • Jayesh Kawli
6 min read
Fresh Beginning © 2021
Latest Posts Ghost