Instance Method

resignKey()

Called automatically to inform the window that it is no longer the key window.

Declaration

func resignKey()

Discussion

Never call this method directly. The system calls this method and posts didResignKeyNotification to let the window know when it is no longer key. The default implementation of this method does nothing, but subclasses can override it and use it to perform tasks related to resigning the key window status.

See Also

Making Windows Key

var isKeyWindow: Bool

A Boolean value that indicates whether the window is the key window for the app.

func makeKeyAndVisible()

Shows the window and makes it the key window.

func makeKey()

Makes the receiver the key window.

func becomeKey()

Called automatically to inform the window that it has become the key window.