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

# acceptsFirstResponder

A Boolean value that indicates whether the text field is editable and accepts first responder status.

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

## Discussion

<doc://com.apple.documentation/documentation/Swift/true> if the text field is editable and can become the first responder; otherwise, <doc://com.apple.documentation/documentation/Swift/false>.

---

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)