What is Nostr?
Christian Selig /
npub1me4…0ues
2024-02-06 20:59:37

Christian Selig on Nostr: Silly SwiftUI question: if I use the new @​Observable for my view model, can I use ...

Silly SwiftUI question: if I use the new @​Observable for my view model, can I use an object from it as a Binding? Say I'm using a Picker to let you select from something, can my view model power that? I can't quite figure out the syntax

Gist: https://gist.github.com/christianselig/305d3362d83eaea4fecf214fb4054c9d

Author Public Key
npub1me4dmfx38938e68eeuz77f78e5w7nz2nv0jlxqmx0amphmp3sutq6s0ues