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.
Life is short, and I am wasting mine away I envy most lead fictional characters of well-enough written stories. With their foes, their moral dilemmas, the high(ish) stakes. Wether they live in a manichean or a complex world, what matters usually is obvious. In these worlds, one knows what they have to care about if they want Here?
Making a zoomable Image, in SwiftUI This should have been simple, but it wasn't. So if you too are having a hard time making a zoomable image in SwiftUI, come on in!
A few awesome useful and nice to have tools Intro. Mainly Mac-oriented Homebrew My go-to tool to install pretty much anything on my Mac, Homebrew is a nearly ubiquitous tool in the Mac-using developer community. Don't believe me? It can be used to install every single macOS app listed here. And that includes the awesome screensaver listed at the
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.
Everybody's doing it (a Stable Diffusion test post) A few years back, in February 2019, I, like quite a handful of people, heard for the first time of OpenAI's GPT-2. And while it sure was impressive, it only gave us a glimpse of what GPT-3 would be able to do a year later. Impressive wouldn't start to describe