Chapter    11

Windows and Menus and Sheets

For the past several chapters, we’ve been focusing on what could be considered the “back end” of Cocoa programming, the model and controller classes that provide functionality to help take care of our application’s infrastructure. Now it’s time to turn our attention to the “front end” of Cocoa and pay more attention to the view part of the MVC architecture.

In this chapter, we’re going to focus on windows (not the Microsoft kind), menus (not the restaurant kind), panels (not the solar kind), and sheets (not the bed kind), all of which are high-level GUI objects that practically no Cocoa application can do without. Windows provide the foundation for view objects to do their drawing. In Cocoa, these are ...

Get Learn Cocoa on the Mac, Second Edition 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.