Michael Long
Feb 9, 2025

--

Great article! The above comment in regard to "screen" views is the only thing I might quibble about.

Iin many cases I'd prefer my subviews to be more intelligent and manage their own loading/state if possible, otherwise the "screen" view/view model (store) has the potential to become overly complex and overly large ("massive screen controller").

A good example of this might be a newsfeed-style list. While the screen might need to load the original list of data, each "card" in the list is responsible for obtaining whatever additional information required to display it's own content.

--

--

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