Some Kind Of Code
  • Home
  • GitHub
  • Mastodon

Swift

Articles that focus on the Swift programming language
Generating an API SDK
iOS

Generating an API SDK

Being tired of writing all the endpoint and model declarations for a new projects, I went down the rabbit hole of generating an SDK based on a swagger documentation
Nov 14, 2022 6 min read
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
Swift

Memory leaks by custom delegate

Working with delegates is a common practice in the coding world of iOS and macOS developers. Many of the core APIs like UITableView have delegates that are called to execute functions so they can get or pass information to another control. It is easy to use as closures don'
Jul 28, 2016 2 min read
Page 1 of 1
Some Kind Of Code © 2025
Powered by Ghost