I'm using MVVM and I have an app with a
UITabBarController, the Main tab of which is a list of publications and the other is a Search screen where they can search for publications. Searching returns a list of publications.
Imagine that Publication A is the first item in the list on the Main tab. Now let's say the user goes to the Search tab, performs a search, and Publication A is in the search results. If the user taps Publication A, it will be marked as read and shaded certain color in the search results list. If the user goes back to the Main tab, Publication A should also be shaded to indicate it has been read.
There are plenty of MVVM tutorials on the subject but they all seem to assume one Model, one View, and one ViewModel. I believe what I need is to understand how to wire up a single Model to two Views, and two ViewModels. I have found several threads here in Software Engineering (like this one) but no real guidance or answers.
Can somebody please point me in the right direction? Thanks.