Chapter 20. Model-View-Controller Pattern

The Model-View-Controller design pattern is one of the most important design patterns in computer science. Whereas most patterns address specific problems, Model-View-Controller (MVC) describes the architecture of a system of objects. It can be applied to isolated subsystems or entire applications. The Model-View-Controller design pattern is also less clearly defined than many other patterns, leaving a lot of latitude for alternate implementations. It's more a philosophy than a recipe.

A clear understanding of MVC is critical to using Cocoa, because the entire Cocoa framework is designed around the Model-View-Controller design pattern (where applicable). Where Java adopts MVC for many tasks, Cocoa passionately ...

Get Learn Objective-C for Java Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.