FocusedValues in SwiftUI

In my last post , I wrote about using preferences in SwiftUI to make the shape of the graph do work for you. This post is something of an addendum to that, focused on focused values. We’ll look at how focused values work, and then see a few ways of taking advantage of them. Here’s the one sentence explainer: the FocusedValues system is like preferences but where the reducer function is “whichever…