<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSAlertDelegate",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(pl)NSAlertDelegate"
  },
  "title" : "NSAlertDelegate"
}
-->

# NSAlertDelegate

A set of optional methods implemented by the delegate of an [`NSAlert`](/documentation/AppKit/NSAlert) object to respond to a user’s request for help.

```
protocol NSAlertDelegate : NSObjectProtocol
```

## Topics

### Displaying Help

[`func alertShowHelp(NSAlert) -> Bool`](/documentation/AppKit/NSAlertDelegate/alertShowHelp(_:))

Sent to the delegate when the user clicks the alert’s help button. The delegate causes help to be displayed for an alert, directly or indirectly.

## Relationships

### Inherits From

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

---

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)