I need to fix Scorebook’s Settings screen to work with Dark Mode in iOS 13. Great, I thought, let’s rebuild it in SwiftUI. That feels like a good candidate for an isolated test, right? Now I want to bind a Toggle to a UserDefault boolean value and my brain is melting.

Jared Sorge @jsorge