Ios swift – Bind @Observable model property to @ObservableObject model property so view updates?
I have the following demo code: import SwiftUI import Observation class Car1: ObservableObject { @Published var rentDate:Date = .now } class Car2: ObservableObject { @Published var rentDate:Date = .now } @Observable class CarViewModel { var rentDate:Date = .now } struct…