<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSResponder/acceptsFirstResponder",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSResponder(py)acceptsFirstResponder"
  },
  "title" : "acceptsFirstResponder"
}
-->

# acceptsFirstResponder

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

```
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 <doc://com.apple.documentation/documentation/Swift/false>. Subclasses set this property to <doc://com.apple.documentation/documentation/Swift/true> if the receiver accepts first responder status.

## See Also

[`needsPanelToBecomeKey`](/documentation/AppKit/NSView/needsPanelToBecomeKey)

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

[`NSResponder`](/documentation/AppKit/NSResponder)

An abstract class that forms the basis of event and command processing in AppKit.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)