---
title: "helpRequested(with:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nsmenu/helprequested(with:)"
---

# helpRequested(with:)

Overridden by subclasses to implement specialized context-sensitive help behavior.

## Declaration

```swift
func helpRequested(with eventPtr: NSEvent)
```

## Parameters

- `eventPtr`: An doc://com.apple.appkit/documentation/AppKit/NSEvent object representing the event associated with the help request.

## Discussion

Discussion Subclasses in their implementation of this method should cause the Help Manager (NSHelpManager) to display the help associated with the menu. Never invoke this method directly. Special Considerations In macOS 10.6 and later this method has no effect. This method may be deprecated in a future release.

## See Also

### Related Documentation

- [showContextHelp(for:locationHint:)](appkit/nshelpmanager/showcontexthelp(for:locationhint:).md)

### Displaying Context-Sensitive Help

- [popUpContextMenu(_:with:for:)](appkit/nsmenu/popupcontextmenu(_:with:for:).md)
- [popUpContextMenu(_:with:for:with:)](appkit/nsmenu/popupcontextmenu(_:with:for:with:).md)
- [popUp(positioning:at:in:)](appkit/nsmenu/popup(positioning:at:in:).md)
