Re:Swift Protocol Oriented Programming and Testing
by jmull on Saturday July 31, 2021 @02:55PM
(#28020706)
Yep. MVC is a UI pattern. How the UI displays application state and updates application state based on user interaction.
Everything else is outside MVC. Apparently some people don't understand this and stuff their application logic into MVC controllers.
As for structuring your code, someone (I don't remember who) offered the suggestion that out of all the parts that the framework gives you, your application logic doesn't belong in any of them.