NSWindow.DidBecomeKeyMessage
A message that reports that the window object became the key window.
Declaration
struct DidBecomeKeyMessageDiscussion
Use this message to observe the didBecomeKeyNotification notification using Swift concurrency.
Topics
Creating a message
Getting the message’s values
See Also
Related Documentation
Notifications
didBecomeKeyNotificationdidBecomeMainNotificationNSWindow.DidBecomeMainMessagedidChangeScreenNotificationNSWindow.DidChangeScreenMessagedidChangeScreenProfileNotificationNSWindow.DidChangeScreenProfileMessagedidDeminiaturizeNotificationNSWindow.DidDeminiaturizeMessagedidEndSheetNotificationNSWindow.DidEndSheetMessagedidEndLiveResizeNotificationNSWindow.DidEndLiveResizeMessagedidExposeNotificationNSWindow.DidExposeMessage