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
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
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 Encoder.
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.
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'