Best data-binding practice in Combine + SwiftUI?
问题 In RxSwift it's pretty easy to bind a Driver or an Observable in a View Model to some observer in a ViewController (i.e. a UILabel ). I usually prefer to build a pipeline, with observables created from other observables , instead of "imperatively" pushing values, say via a PublishSubject ). Let's use this example: update a UILabel after fetching some data from the network RxSwift + RxCocoa example final class RxViewModel { private var dataObservable: Observable<Data> let stringDriver: Driver