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

@property(readonly, assign) NSView *nextValidKeyView;

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

canBecomeKeyView

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

needsPanelToBecomeKey

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

nextKeyView

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

previousKeyView

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

previousValidKeyView

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