Michael Long
Sep 25, 2023

--

Mixed on this one as well. View bodies are constantly being recreated and reevaluated. That doesn't mean, however, that they're constantly being updated and redrawn.

SwiftUI likes to check if a change in state is reflected by a change to a view's properties. If no change results, then there's no need to refresh the view.

--

--

Michael Long
Michael Long

Written by Michael Long

I write about Apple, Swift, and SwiftUI in particular, and technology in general. I'm also a Lead iOS Engineer at InRhythm, a modern digital consulting firm.

No responses yet