Working with Drawers

A drawer is similar to a sheet in some ways. A drawer is a window that is attached to, and associated with, another window. Unlike sheets, drawers are not modal. Drawers slide out of the sides of other windows instead of sliding down from a window’s title bar.

Drawers are documented at http://developer.apple.com/techpubs/macosx/Cocoa/TasksAndConcepts/ProgrammingTopics/Drawers/index.html and http://developer.apple.com/techpubs/macosx/Cocoa/Reference/ApplicationKit/ObjC_classic/Classes/NSDrawer.html.

Drawers are usually created in Interface Builder and stored in a .nib file along with their associated window called the parent window. Interface Builder includes an NSDrawer object already on a palette. No code is needed to manage ...

Get Cocoa® Programming 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.