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.
Are you ready to step up your game?
Cocoacasts Plus helps Swift and Cocoa developers take their education serious without being overwhelmed.Watch Every Tutorial With Cocoacasts Plus