Instance Property

keyViewSelectionDirection

The direction the window is currently using to change the key view.

Declaration

var keyViewSelectionDirection: NSWindow.SelectionDirection { get }

Discussion

The value of this property can be one of the values described in NSWindow.SelectionDirection.

See Also

Managing the Key View Loop

func selectKeyView(preceding: NSView)

Makes key the view that precedes the given view.

func selectKeyView(following: NSView)

Makes key the view that follows the given view.

func selectPreviousKeyView(Any?)

This action method searches for a candidate previous key view and, if it finds one, invokes makeFirstResponder(_:) to establish it as the first responder.

func selectNextKeyView(Any?)

This action method searches for a candidate next key view and, if it finds one, invokes makeFirstResponder(_:) to establish it as the first responder.

var autorecalculatesKeyViewLoop: Bool

A Boolean value that indicates whether the window automatically recalculates the key view loop when views are added.

func recalculateKeyViewLoop()

Marks the key view loop as dirty and in need of recalculation.