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

# noResponder(for:)

Handles the case where an event or action message falls off the end of the responder chain.

```
func noResponder(for eventSelector: Selector)
```

## Parameters

`eventSelector`

A selector identifying the action or event message.

## Discussion

The default implementation beeps if `eventSelector` is [`keyDown(with:)`](/documentation/AppKit/NSResponder/keyDown(with:)).

---

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)