Different flavors of view models in Swift — Swift by Sundell


The way that an app’s data is used tends to vary quite a lot depending on what view the data is being displayed in - requiring custom data logic for each view. View models attempt to make it easier to write and maintain such logic, by introducing dedicated types for it. This articles takes a look at a few different ways that various flavors of view models can be implemented in Swift.


Want to receive more content like this in your inbox?