swift

Better JSON parsing in Swift

Some time after this post was published Apple released Swift 4, which includes Codable. Every since Swift came out, the ObjectMapper library has been the go-to tool for many people's JSON parsing needs, including me. It has been a great tool, especially during the transition from Objective-C to Swift as…

Making a Swift app themeable

Recently I started working on a new side project which includes an iOS application written in Swift. Because it's a new project that should support multiple themes eventually, it seemed wise to add theming from the start. While there are multiple libraries that let you theme your app, including css-like…