You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Suppose, I want a presented or pushed the PurchaseController on the FirstCoordinator, and also on the SecondCoordinator
I will need a initialize the PurchaseController on the First and Second coordinator ?
@wojciech-kulik I did read your article about MVVM and Coordinator and implemented him on my project, and i like him, thanks 🙂
The text was updated successfully, but these errors were encountered:
Yes, it's not a problem, you can instantiate PurchaseController from both coordinators or you can extract this code to another class and pass it as a dependency to your coordinator. However, I think the best approach is to create PurchaseCoordinator and start it as a child coordinator from FirstCoordinator and SecondCoordinator. Most likely you will implement there also some delegate, so you won't duplicate code this way ;)
Suppose, I want a presented or pushed the PurchaseController on the FirstCoordinator, and also on the SecondCoordinator
I will need a initialize the PurchaseController on the First and Second coordinator ?
@wojciech-kulik I did read your article about MVVM and Coordinator and implemented him on my project, and i like him, thanks 🙂
The text was updated successfully, but these errors were encountered: