[SwiftUI] Data passing + Observation

Do you mean how to pass data between two models of reference type? I couldn't find examples for SwiftUI 5 either, but there should be many for SwiftUI 4.

Note: ObservableObject is a Combine API, not SwiftUI API. Your question is actually a typical Combine use case. I think you have better chance to find examples in Combine tutorials.

Ah, then I think you misunderstood it. The new Observable APi is Combine free, so you shouldn't use @Published or Combine API. I'm also curious what's the recommended way to pass data between two objects in the new API. I guess it might be withMutation()[ [Second review] SE-0395: Observability - #48 by Philippe_Hausler], but in my opinion it's not as easy to use as the Combine API (I'd be glad to proved wrong). Another possibility is withObservationTracking()[ withObservationTracking(_:onChange:) | Apple Developer Documentation], but I doubt it.

I think it will be easier to start with the old API. But if you are not in hurry, it would be worth learning the new API. That said, it's important to have a good understanding of the solution to this question.

If I understand it correctly, you meant you can avoid the original question by using just one Observable, right? But I still think it's important to figure out the original question.