Contents

selectKeyView(preceding:)

Gives key view status to the view that precedes the given view.

Declaration

func selectKeyView(preceding view: NSView)

Parameters

  • view:

    The view whose preceding view in the key view loop to seek.

Discussion

Sends the previousValidKeyView message to view and, if that message returns an NSView object, invokes makeFirstResponder(_:) with the returned object.

See Also

Managing the Key View Loop