Recent Posts
- Introducing MacroBrewery: A Collection of Swift Macros for Code Generation
Dec 30, 2025
-
2 min read
If you’ve worked on a Swift codebase of any size, you’ve written the same boilerplate code hundreds of times. Memberwise initializers. Builder patterns. Enum case accessors. Test stubs. It’s tedious, error-prone, and frankly, boring.
Swift 5.9 introduced macros, and I finally had a way to solve this properly. So I built MacroBrewery, a collection of macros that generate the repetitive code I was tired of writing by hand.
What’s Included
@AutoInit
Generates memberwise …
- My Homelab Infrastructure: Deploying a Hashicorp Stack with Ansible Feb 27, 2025 - 9 min read
- Introducing Trickledown.fail: Exposing the Myths of Trickle-Down Economics Feb 8, 2025 - 1 min read
- Self-Hosting Mastodon on Nomad Feb 8, 2025 - 4 min read
- A Twitter Bot for COVID Vaccine Availability in New York City Mar 26, 2021 - 2 min read
- Dissecting the Media Remote Protocol: Reverse Engineering an Apple TV Mar 19, 2018 - 8 min read