Michael Long
Nov 28, 2024

--

That's why I emphasized being able to compare (diff) the structs. In many cases if the structs are equal then that portion of the view tree doesn't need to be reevaluated.

If POD, structs can be equated without needing to add extra code. Unlike classes.

--

--

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