Model controllers in Swift — Swift by Sundell

Proper encapsulation of logic is one of the most important things when it comes to building well-architected apps and systems. By limiting access to a given value or object to those that really need it, we can create more well-defined relationships and reduce the amount of code paths that we need to test. John Sundell takes a look at how we can improve encapsulation in our model layer, using model controllers.


Want to receive more content like this in your inbox?