Protocol

NSDrawer​Delegate

The NSDrawer​Delegate protocol defines the messages sent to delegates of NSDrawer. All of the methods of this protocol are optional.

Symbols

Opening and Closing Drawers

func drawer​Should​Open(NSDrawer)

Asks the delegate if the specified drawer should open.

func drawer​Will​Open(Notification)

Notifies the delegate that the drawer will open.

func drawer​Did​Open(Notification)

Notifies the delegate that the drawer has opened.

func drawer​Should​Close(NSDrawer)

Asks the delegate if the specified drawer should close.

func drawer​Will​Close(Notification)

Notifies the delegate the the drawer will close.

func drawer​Did​Close(Notification)

Notifies the delegate that the drawer has closed.

Managing Drawer Size

func drawer​Will​Resize​Contents(NSDrawer, to:​ NSSize)

Invoked when the user resizes the drawer or parent.

Relationships

Inherits From