NSWindow.WillCloseMessage
A message that reports that the window object is about to close.
Declaration
struct WillCloseMessageDiscussion
Use this message to observe the willCloseNotification notification using Swift concurrency.
Topics
Creating a message
Getting the message’s values
See Also
Related Documentation
Notifications
didBecomeKeyNotificationNSWindow.DidBecomeKeyMessagedidBecomeMainNotificationNSWindow.DidBecomeMainMessagedidChangeScreenNotificationNSWindow.DidChangeScreenMessagedidChangeScreenProfileNotificationNSWindow.DidChangeScreenProfileMessagedidDeminiaturizeNotificationNSWindow.DidDeminiaturizeMessagedidEndSheetNotificationNSWindow.DidEndSheetMessagedidEndLiveResizeNotificationNSWindow.DidEndLiveResizeMessagedidExposeNotification