---
title: acceptsFirstResponder
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsresponder/acceptsfirstresponder
---

# acceptsFirstResponder

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

## Declaration

```swift
var acceptsFirstResponder: Bool { get }
```

## Discussion

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

- [needsPanelToBecomeKey](appkit/nsview/needspaneltobecomekey.md)
- [NSResponder](appkit/nsresponder.md)

### Changing the First Responder

- [becomeFirstResponder()](appkit/nsresponder/becomefirstresponder().md)
- [resignFirstResponder()](appkit/nsresponder/resignfirstresponder().md)
- [validateProposedFirstResponder(_:for:)](appkit/nsresponder/validateproposedfirstresponder(_:for:).md)
