Contents

didCloseNotification

Sent after the popover has finished animating offscreen.

Declaration

class let didCloseNotification: NSNotification.Name

Discussion

The value of the userInfo key closeReasonUserInfoKey specifies the reason for closing. It can currently be either standard or detachToWindow, although more reasons for closing may be added in the future.

To observe this notification using Swift concurrency, use NSPopover.DidCloseMessage.

See Also

Notifications