Protocol

NSDrawerDelegate

A set of methods that drawer delegates implement to open, close, and resize the drawer.

Topics

Opening and Closing Drawers

func drawerShouldOpen(NSDrawer)

Asks the delegate if the specified drawer should open.

func drawerWillOpen(Notification)

Notifies the delegate that the drawer will open.

func drawerDidOpen(Notification)

Notifies the delegate that the drawer has opened.

func drawerShouldClose(NSDrawer)

Asks the delegate if the specified drawer should close.

func drawerWillClose(Notification)

Notifies the delegate the the drawer will close.

func drawerDidClose(Notification)

Notifies the delegate that the drawer has closed.

Managing Drawer Size

func drawerWillResizeContents(NSDrawer, to: NSSize)

Invoked when the user resizes the drawer or parent.

Relationships

Inherits From

See Also

Drawers

class NSDrawer

A user interface element that contains and displays text, scroll, and browser views, in addition to other view subclasses.

Deprecated