A Boolean value that indicates whether the responder accepts first responder status.
SDK
- macOS 10.0+
Framework
- App
Kit
Declaration
var acceptsFirstResponder: Bool { get }
Discussion
As first responder, the receiver is the first object in the responder chain to be sent key events and action messages. By default, this property is false
. Subclasses set this property to true
if the receiver accepts first responder status.