---
title: "contextHelp(for:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nshelpmanager/contexthelp(for:)"
---

# contextHelp(for:)

Returns context-sensitive help for an object.

## Declaration

```swift
func contextHelp(for object: Any) -> NSAttributedString?
```

## Parameters

- `object`: Object for which context-sensitive help is sought.

## Return Value

Return Value Context-sensitive help content.

## See Also

### Related Documentation

- [setContextHelp(_:for:)](appkit/nshelpmanager/setcontexthelp(_:for:).md)

### Displaying Context-Sensitive Help

- [showContextHelp(for:locationHint:)](appkit/nshelpmanager/showcontexthelp(for:locationhint:).md)
- [NSHelpManager.ContextHelpKey](appkit/nshelpmanager/contexthelpkey.md)
- [isContextHelpModeActive](appkit/nshelpmanager/iscontexthelpmodeactive.md)
