---
title: refusesFirstResponder
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nscell/refusesfirstresponder
---

# refusesFirstResponder

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

## Declaration

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

## Discussion

Discussion Set the value of this property to 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 property.

## See Also

### Respond to Keyboard Events

- [acceptsFirstResponder](appkit/nscell/acceptsfirstresponder.md)
- [showsFirstResponder](appkit/nscell/showsfirstresponder.md)
- [performClick(_:)](appkit/nscell/performclick(_:).md)
