Instance Property

autorecalculatesKeyViewLoop

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

Declaration

var autorecalculatesKeyViewLoop: Bool { get set }

Discussion

The value of this property is true if the window automatically recalculates the key view loop when views are added; otherwise, false. If autorecalculatesKeyViewLoop is false, the client code must update the key view loop manually or call recalculateKeyViewLoop() to have the window recalculate it.

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 keyViewSelectionDirection: NSWindow.SelectionDirection

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

func recalculateKeyViewLoop()

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