O'Reilly logo

Cocoa Programming for OS X: The Big Nerd Ranch Guide by Aaron Hillegass, Adam Preble, Nate Chandler

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

View Controllers vs. Window Controllers

Now that you have seen the two major controller patterns for Cocoa, you may be wondering: how do you know which one to use when? Furthermore, why are we only just now introducing view controllers?

For most of the applications in this book – applications with spartan, relatively static interfaces, unlikely to be developed past 1.0 – a window controller is perfectly suitable. Their controllers have been relatively focused and uncluttered.

Real world applications, however, like the kind you intend to write, will not be so simple. Their interfaces will have multiple areas of focus, they will grow over time and perhaps even be touched by several Cocoa programmers. For these applications, we ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required