Instance Method

applicationWillResignActive(_:)

Sent by the default notification center immediately before the application is deactivated.

Declaration

optional func applicationWillResignActive(_ notification: Notification)

Parameters

aNotification

A notification named willResignActiveNotification. Calling the object method of this notification returns the NSApplication object itself.

See Also

Managing Active Status

func applicationWillBecomeActive(Notification)

Sent by the default notification center immediately before the application becomes active.

func applicationDidBecomeActive(Notification)

Sent by the default notification center immediately after the application becomes active.

func applicationDidResignActive(Notification)

Sent by the default notification center immediately after the application is deactivated.