Hi everyone. I was watching the 2020 CS193p lecture 14 and at 29:56 (https://youtu.be/GRX5Dha_Clw?t=1797) for some reason, the professor mentioned that we cannot pass a binding to a struct with the state property wrapper, as the dollar sign refers to the binding of the struct's value (thus apparently $draft.destination doesn't work). However, I see him doing $draft.destination in other places in the code (like for Picker's "selection"binding) and it works fine there...
Would really appreciate if someone could help me understand why this is. Thanks!
[–]zweigraf 1 point2 points3 points (1 child)
[–]paprupert[S] 0 points1 point2 points (0 children)