A very common mistake that we make while using the published property is missing the Schedulers while subscribing.
Due to this, the subscribers are notified about the change in the value of published property, but we do not get the data.
In this video, I've explained this problem, it's solution and difference between two schedulers i.e RunLoop.Main and DispatchQueue.main.
Useful Links 👇🏼
www.avanderlee.com/combine/runloop-main-vs-dispatc…
forums.swift.org/t/runloop-main-or-dispatchqueue-m…
github.com/apple/swift/blob/b5570a1aa923d18f5b7a28…
github.com/apple/swift/blob/2eb460de4d675a0947215b…
コメント