Why Nostr? What is Njump?
2024-04-05 14:26:00

Christian Selig on Nostr: Another Swift @​Observable question 😛 How do I make a UIViewRepresentable ...

Another Swift @​Observable question 😛 How do I make a UIViewRepresentable receive updates when I *completely replace* the View Model? The parent view sees the change, but I can't figure out how to propagate it into the UIViewRepresentable

Example code: https://gist.github.com/christianselig/7b56623a09916faf47cd26eabc67dbb0

Author Public Key
npub1me4dmfx38938e68eeuz77f78e5w7nz2nv0jlxqmx0amphmp3sutq6s0ues