Swift Combine: `sink` works with model.$name but not with model.name.publisher. Why? – Ios swift
I have the a model with a published name property: @MainActor class MyModel:ObservableObject { @Published private(set) var name = "" .... } I am wondering why sink works when used on model.$name and not on model.name.publisher. model.$name .receive(on: RunLoop.main) .sink…