You can watch this episode by subscribing to Cocoacasts Plus.

Mastering Navigation With Coordinators

The Model-View-ViewModel-Coordinator Pattern

Earlier in this series, I mentioned that the coordinator pattern works well with the Model-View-ViewModel pattern. The resulting pattern is commonly referred to as MVVM-C or the Model-View-ViewModel-Coordinator pattern. In this episode, we refactor the PhotosViewController class. It currently uses the Model-View-Controller pattern. We update the implementation of the PhotosViewController class to use the Model-View-ViewModel pattern instead. I won't cover the details of the MVVM pattern in this episode, though. The MVVM pattern is covered in detail in Mastering MVVM With Swift.

Purchase Course

Purchase Mastering Navigation With Coordinators and access it whenever you want and for as long as you want.

Join Cocoacasts Plus

Join Cocoacasts Plus and access every 350+ tutorials including Mastering Navigation With Coordinators.

Next Episode "MVVM-C and Separation of Concerns"