Software Dev

MVC: Many View Controllers

Another counterpoint in the iOS architecture wars, saying basically that MVC is actually pretty sound as long as you use it wisely.

This post breaks controllers down into a few types: Containers, Generic controllers, View controllers, Flow controllers to help reframe things.

One of my favorite points here is that not everything has to be a model, a view, or a controller. You can — and should — create other kinds of code! No wonder your controllers are messy if you limit yourself like that. πŸ€·πŸ»β€β™‚οΈ

This issue happens when the developer thinks they must fit everything into either M, V or C, forgetting that they are allowed to create other types of constructs.

πŸ‘‰ MVC: Many View Controllers

2

Via iOS Dev Weekly.

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.