Slide 45
Slide 45 text
RepositoryViewModel
final class RepositoryViewModel {
private let action: RepositoryAction
private let store: RepositoryStore
private let disposeBag = DisposeBag()
let buttonTitle: Observable
private let _buttonTitle = BehaviorSubject(value: "")
init(action: RepositoryAction = .init(),
store: RepositoryStore = .instantiate(),
favoriteButtonItemTap: ControlEvent) {
// ...
}
}