Some Kind Of Code
  • Home
  • GitHub
  • Mastodon
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
iOS

WatchConnectivity and App Lifetime

I'm currently playing around with watchOS and communicating with the main iOS App. The basic and easiest way since watchOS 2 and iOS 9 is to use the WatchConnectivity Framework provided by Apple. It's very simple by using the WCSession instance you can access by WCSession.
Jul 18, 2017 2 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
Moving away from CocoaPods
cocoapods

Moving away from CocoaPods

When you develop native in Apples environment, you stumble over CocoaPods [https://cocoapods.org] to implement 3rd party libraries in your apps. It adds dependencies that can be installed separately and don't have to be stored in your respositories. I used it for a few years now, but
Jun 27, 2016 2 min read
Page 1 of 1
Some Kind Of Code © 2025
Powered by Ghost