willHideNotification
Posted at the start of the Hide(_:) method to indicate that the app is about to be hidden.
Declaration
class let willHideNotification: NSNotification.NameDiscussion
The notification object is NSApp. This notification doesn’t contain a userInfo dictionary. The system posts this notification on the main actor.
To observe this notification using Swift concurrency, use NSApplication.WillHideMessage.
See Also
Notifications
didBecomeActiveNotificationdidChangeScreenParametersNotificationdidFinishLaunchingNotificationdidHideNotificationdidResignActiveNotificationdidUnhideNotificationdidUpdateNotificationwillBecomeActiveNotificationwillFinishLaunchingNotificationwillResignActiveNotificationwillTerminateNotificationwillUnhideNotificationwillUpdateNotificationdidFinishRestoringWindowsNotificationdidChangeOcclusionStateNotification