Contents

isFieldEditor

A Boolean that controls whether the receiver interprets Tab, Shift-Tab, and Return (Enter) as cues to end editing and possibly to change the first responder.

Declaration

var isFieldEditor: Bool { get set }

Discussion

If flag is true, the receiver interprets Tab, Shift-Tab, and Return (Enter) as cues to end editing and possibly to change the first responder; if flag is false, it doesn’t, instead accepting these characters as text input.

See the NSWindow class specification for more information on field editors. By default, NSText objects don’t behave as field editors.

See Also

Setting behavioral attributes