Tells the delegate that the window has resigned key window status.
On This Page
optional func windowDidResignKey(_ notification: Notification)
A notification named didResignKeyNotification.
You can retrieve the window object in question by sending object to notification.
Tells the delegate that the window has become the key window.