Posts

Post not yet marked as solved
0 Replies
593 Views
Could anyone provide an example to get a `UIViewRepresentable` to call `updateUIView(:context:)` when an `ObservableObject` changes?Say I have `Foo: UIViewRepresentable` and `Observable: Object` I tried pretty much all combinations I can think of;- Use `EnvironmentObject`, `ObservedObject`- On `Foo.Coordinator`, `Foo`, `Foo`'s parent,- Using Xcode 11.3.1 and 11.4 beta.
Posted
by Lantua.
Last updated
.