willCloseNotification
Sent before the popover is closed.
Declaration
class let willCloseNotification: NSNotification.NameDiscussion
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.WillCloseMessage.