selectPreviousKeyView(_:)
Searches for a candidate previous key view and, if it finds one, tries to make it the first responder.
Declaration
func selectPreviousKeyView(_ sender: Any?)Parameters
- sender:
The message’s sender.
Discussion
The candidate is one of the following (which this function searches for in this order):
The current first responder’s previous valid key view, which the previousValidKeyView method of
NSViewreturnsThe initialFirstResponder designates as the window’s initial first responder if it returns true to an acceptsFirstResponder message
Otherwise, the initial first responder’s previous valid key view, which may be
nil