Michael Long
Jan 10, 2025

--

It's a Coordination pattern of sorts, although usually with an actual Coordinator one needs to figure out where to place it in the view tree and maintain a reference to it somehow in order to dispatch the views.

In this case none of that is necessary. Just use the enumerated value and the proper view can be extracted from it.

--

--

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