O'Reilly logo

Mac® Application Development For Dummies® by Karl G. Kowalski

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

Chapter 6

Controlling Your Windows and Views

In This Chapter

arrow Introducing Cocoa’s windows

arrow Getting familiar with the Model-View-Controller (MVC) design pattern

arrow Creating and building a project using MVC

arrow Implementing a view and a controller

arrow Creating and sending notifications

In 1984, Apple revealed the Macintosh, the first mass-market computer that introduced a new way for ordinary humans to interact with their computers. The highlight of this new approach was the use of windows (framed screen areas) to display the information that users would work with. Today, you’ll find the use of computer windows everywhere, including an operating system of that name. Apple lit the torch, and the world has followed.

Nearly all Macintosh apps provide windows, and chances are your apps will also do so. In this chapter, I show you the basics of using windows in your Mac apps. I’ll also cover views, which are objects that can be displayed within a window. Every user interface component is a subclass of ...

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