Types are nice: recursive types, in Swift What's a recursive type, what is it useful for, and how can we implement and use one in Swift? Let's find out!
Types are nice, infinite recursion edition Playing around on hackerrank to prepare for an interview, I had some fun solving tree problems using recursion.
Conditionally debounce value updates, in Swift Improve your iOS app's performance and enhance your users' experience by learning how to conditionally debounce events. Also, it's a panacea that solves everything. Ok, almost everything. Depending on how you look at it.
Metaprogramming in Swift, and the issue with Process and relative paths Find out why your Swift CLI tool isn't capable of dealing with relative paths, and how to solve it!
Convert between image (pixels) and scaleAspectFit UIImageView coordinates like a champ! When working with images in iOS, it's sometimes necessary to convert between an image's pixel coordinates and the coordinates of the UIImageView that displays the image. Here's how to do it.
Preserve your images' transparency when saving and sharing them, in Swift Loosing your rounded corners or transparent background when saving an image to the user's photo library or sharing it with UIActivityViewController? It's because it's be turned into a JPEG. Here's how to solve that.
From a base64 API Key to a json file, in bash, on macOS While working on a client's app's CI pipeline, I needed to use an API key. However, it was stored as a base64 environment variable, when the tool I needed to use required it to be plaintext in a JSON file. Fun times.