Michael Long
Nov 11, 2024

--

Complete misses the point. In SwiftUI "views" are just definitions, examined and used to build and maintain the desired interface.

Structs are just data. They're lightweight and easy to construct--and to compare.

And when that comparison indicates that the data has changed, the interface is updated to match.

--

--

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.

Responses (1)