It is possible to get SwiftUI to print changes that occur.
This only counts changes that cause the view’s body to be refreshed, so I’m including three controls that can be changed by the user. The scope of the call that runs Self._printChanges()
determines where the changes will be detected, which is inside a VStack
in…
Keep reading with a 7-day free trial
Subscribe to Type Safely to keep reading this post and get 7 days of free access to the full post archives.