-
SwiftUI Device Previews
A nice feature of using SwiftUI for your app is Preview macros which allow you to live preview individual views in the IDE. This can be super useful for rapid iteration if you properly mock out datasources and dependencies of your view. Passing less data to your views and modularizing them also improves general testability and performance.
-
2024 Canvassing
I spent the 2 weekends before the 2024 election canvassing in Reno, NV and Tulare, CA. For the Harris campaign and Rudy Salas (Democrat candidate for CA-22) respectively. Obviously the election results did not go how I wanted, and that’s a lot to process. Nonetheless, the experience of canvassing was very rewarding and I don’t regret my efforts at all.
-
Everett Parks Reviews Project
Earlier this summer I visited all 46 city parks in Everett, WA with my dad over 2 days. Growing up in Everett, I frequented some of these parks, but never been to others. With so many parks to visit, it was a definite challenge to visit them in such a short period of time. Despite these parks not being famous or well-known, there’s quite a few very nice spaces! I decided to document the parks and also the journey to visit them all.
-
Automatic Reference Counting with `self`
Recently, when working on Jared, I ran into an interesting memory leak. Jared is written nearly entirely in Swift, which uses ARC for memory allocation. As advertised, it usually “just works”. However in this case some of my callback code had unintended side effects.
-
Best of the decade
This is the stuff that I enjoyed the most since 2010.