A user interface element that contains and displays text, scroll, and browser views, in addition to other view subclasses.
Deprecated
Drawers are deprecated and should not be used in modern macOS apps.
SDK
- macOS 10.0–10.13Deprecated
Framework
- App
Kit
Declaration
class NSDrawer : NSResponder
Overview
A drawer is associated with a window, called its parent, and can appear only while its parent is visible onscreen. A drawer cannot be moved or ordered independently of a window, but is instead attached to one edge of its parent and moves along with it.