Some Kind Of Code
  • Home
  • GitHub
  • Mastodon

guide:codables

With this guide collection you'll learn all details on how to work with Codables in Swift.
Codables: (De)Serializing - Ch. 2: Coding Keys
guide:codables

Codables: (De)Serializing - Ch. 2: Coding Keys

CodingKeys are created to map data between your model and the data. These are mostly created as an enum to easily map the data in a custom decoding or encoding logic. If you don't declare the keys yourself, the compiler will do this automatically for you. But as
Jan 5, 2020 2 min read
Codables: (De)Serializing - Ch. 1: Coder Options
guide:codables

Codables: (De)Serializing - Ch. 1: Coder Options

The first chapter to customize your Codable (de)serialization is about the options of your selected Decoder and Enc​oder.
Jul 2, 2019 2 min read
Codables: The Basics
guide:codables

Codables: The Basics

Codables are a very useful tool if you need to decode from or to different formats like JSON. Get your introduction into Codables here.
Apr 28, 2019 4 min read
Page 1 of 1
Some Kind Of Code © 2025
Powered by Ghost