Instance Property

nextValidKeyView

The closest view object in the key view loop that follows the current view in the key view loop and accepts first responder status.

Declaration

unowned(unsafe) var nextValidKeyView: NSView? { get }

Return Value

The closest view object in the key view loop that follows the view and accepts first responder status, or nil if there is none.

Discussion

The value in this property is nil if there is no view that follows the current view and accepts the first responder status. AppKit ignores hidden views when it determines the next valid key view.

See Also

Key-view Loop Management

var canBecomeKeyView: Bool

A Boolean value indicating whether the view can become key view.

var needsPanelToBecomeKey: Bool

A Boolean value indicating whether the view needs its panel to become the key window before it can handle keyboard input and navigation.

var nextKeyView: NSView?

The view object that follows the current view in the key view loop.

var previousKeyView: NSView?

The view object preceding the current view in the key view loop.

var previousValidKeyView: NSView?

The closest view object in the key view loop that precedes the current view and accepts first responder status.