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

# refusesFirstResponder

A Boolean value indicating whether the cell refuses the first responder status.

```
var refusesFirstResponder: Bool { get set }
```

## Discussion

Set the value of this property to <doc://com.apple.documentation/documentation/Swift/true> to prevent the cell from becoming the first responder. To determine whether the cell can become first responder right now, get the value of the [`acceptsFirstResponder`](/documentation/AppKit/NSCell/acceptsFirstResponder) property.

---

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)