Loading...

Massive View Controller, Who Are You and What Have You Done to my Architecture? (/dev/world/2017)

71 views

Loading...

Loading...

Transcript

The interactive transcript could not be loaded.

Loading...

Loading...

Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Published on Nov 8, 2017

Presenter: Malin Sundberg

When using the MVC design pattern it is easy for us to, unintentionally, adopt the Massive View Controller pattern. The responsibility of a ViewController is often vaguely defined and ends up being the class where we place anything from a view’s layout logic, to view navigation, business logic, and network requests. Code that is neither belonging to the View nor to the Model ends up being placed in this one class.

This talk will go through alternative approaches of how to structure your project in a way that helps you avoid a large, messy, ViewController, and write code that is more readable, expandable and reusable.

Loading...

When autoplay is enabled, a suggested video will automatically play next.

Up next

to add this to Watch Later

Add to

Loading playlists...