I got a UINavigationController holding 3 Catalog View controllers
- Categories
- Items
- Selected Item
Looking for a design pattern how to manage the flow.
Scenarios
- User pick category and then pick an item
- New item from different category was selected from the last vc, so the vc update it's view with the relevant data but he also need to update the items of the category in the second VC and need to update the Categories VC with the selected Category of that item..
The flow is bidirectional and all data is coming from the server which make everything be in an unknown state.
Looking for a way to solve it nicely