Contents

willPowerOffNotification

A notification that the workspace posts when the user requests a logout or powers off the device.

Declaration

class let willPowerOffNotification: NSNotification.Name

Discussion

The notification object is the shared NSWorkspace instance. This notification doesn’t contain a userInfo dictionary.

See Also

Responding to Environment Notifications