Skeptick
06/29/2020, 6:35 AM@Published
replaced with PublishSubject
from RxSwift. I don’t like the need to use an additional library for such a simple task. In addition, in mpp-library I use coroutines. Perhaps there is an easier way to signal the UIViewController
of a state change?Arkadii Ivanov
06/29/2020, 10:07 AMCombine
is required for SwiftUI. But for UIKit you do similar to how it works in Android sample currently. You can find a UIKit sample here: https://github.com/badoo/Reaktive/blob/master/sample-ios-app/sample-ios-app/ViewController.swift
So basically just implement the View
interface normally.Skeptick
06/29/2020, 11:00 AM