Iam using MVVM with RxSwift i have tried Coordinator and RxFlow to navigate between viewcontroller. Is there any simply approach to segue between viewcontroller with RxSwift
viewModel.users.subscribe {
model in
self.walkthrough = WalkthroughModel(country: (model.element?.country)!, countryCode: (model.element?.countryCode)!,PhoneNumber:"")
DispatchQueue.main.async {
self.performSegue(withIdentifier: "Walkthrough_phone", sender: self)
}
}.dispose()
these the normal approach iam doing right now but is there any way to bind segu to the button
RxFlow may become the answer.
RxFlow is a navigation framework for iOS applications based on a Reactive Flow Coordinator pattern
https://github.com/RxSwiftCommunity/RxFlow
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With