O'Reilly logo

Cocoa Design Patterns by Donald A. Yacktman, Erik M. Buck

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

2. MVC Analyzed and Applied

This chapter introduces a tiny Pay Calculator application and provides two separate implementations of the application. The first implementation uses a straightforward but naive non-MVC design. The second implementation highlights the improvements realized by using the MVC design pattern.

Note

The two implementations of Pay Calculator serve as a high-level whirlwind tour of Cocoa technologies and developer tools. The example provides a sense of what’s possible, but there isn’t space in this chapter to describe all of the underlying technology exploited to build Pay Calculator with drag-and-drop in Interface Builder and Xcode. Pay Calculator shows the high altitude view looking down on a trivial application built ...

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