Instance Method
makeKeyAndOrderFront(_:)
Moves the window to the front of the screen list, within its level, and makes it the key window; that is, it shows the window.
Declaration
func makeKeyAndOrderFront(_ sender: Any?)
See Also
Managing Key Status
var isKeyWindow: Bool
A Boolean value that indicates whether the window is the key window for the application.
func becomeKey()
Invoked automatically to inform the window that it has become the key window; never invoke this method directly.
func resignKey()
Invoked automatically when the window resigns key window status; never invoke this method directly.
Related Documentation
func orderBack(Any?)
Moves the window to the back of its level in the screen list, without changing either the key window or the main window.
func orderFront(Any?)
Moves the window to the front of its level in the screen list, without changing either the key window or the main window.