Instance Method

drawerWillOpen(_:)

Notifies the delegate that the drawer will open.

Declaration

optional func drawerWillOpen(_ notification: Notification)

Parameters

notification

An NSDrawerDelegate notification, sent by the default notification center immediately before the drawer is opened.

See Also

Opening and Closing Drawers

func drawerShouldOpen(NSDrawer) -> Bool

Asks the delegate if the specified drawer should open.

Deprecated
func drawerDidOpen(Notification)

Notifies the delegate that the drawer has opened.

Deprecated
func drawerShouldClose(NSDrawer) -> Bool

Asks the delegate if the specified drawer should close.

Deprecated
func drawerWillClose(Notification)

Notifies the delegate the drawer will close.

Deprecated
func drawerDidClose(Notification)

Notifies the delegate that the drawer has closed.

Deprecated