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 Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

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