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 ...

Get Cocoa Design Patterns 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.