Contents

acceptsFirstResponder

A Boolean value that indicates whether the responder accepts first responder status.

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.

See Also

Related Documentation

Changing the First Responder