Contents

willBecomeActiveNotification

Posted immediately before the app becomes active.

Declaration

class let willBecomeActiveNotification: NSNotification.Name

Discussion

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.WillBecomeActiveMessage.

See Also

Notifications