Instance Method

makeKeyAndVisible()

Shows the window and makes it the key window.

Declaration

func makeKeyAndVisible()

Discussion

This is a convenience method to show the current window and position it in front of all other windows at the same level or lower. If you only want to show the window, change its isHidden property to false.

See Also

Making Windows Key

var isKeyWindow: Bool

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

func makeKey()

Makes the receiver the key window.

func becomeKey()

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

func resignKey()

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