Effective SwiftUI Previews

Previews are a handy tool for getting a live look at all possible states of a view, and I often finding myself creating loads without thinking. Yet I find people often have trouble getting previews to work nicely. This is my attempt to break down my approach for those people. If you use TCA, which ties architecture very deeply to the view, my best advice is to look to their docs on the topic....

April 28, 2024 ยท 9 min