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.