Brandon Williams
mbrandonw.bsky.social
Brandon Williams
@mbrandonw.bsky.social
Subterranean homesick mathematician. Co-host of @pointfree.co.

https://www.fewbutripe.com
You can always call into Binding's dynamicMember directly to transform one binding into another binding:
November 24, 2024 at 5:22 PM
I highly recommend not creating bindings using the Binding(get:set:) initializer. It really messes with SwiftUI's ability to do a lot of things. Better to define a property/subscript and let dynamic member lookup handle deriving the binding.
November 22, 2024 at 4:43 PM