You can watch this episode by subscribing to Cocoacasts Plus.

Mastering MVVM With Swift

Adding Protocols to the Mix

After we implemented the Model-View-ViewModel pattern in the settings view controller, we noticed we were repeating ourselves in the tableView(_:cellForRowAt:) method. We can solve this problem with a pinch of protocol-oriented programming.

Purchase Course

Purchase Mastering MVVM With Swift 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 MVVM With Swift.

Next Episode "Making Table View Cells Autoconfigurable"