---
title: "unregisterUserInterfaceItemSearchHandler(_:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nsapplication/unregisteruserinterfaceitemsearchhandler(_:)"
---

# unregisterUserInterfaceItemSearchHandler(_:)

Unregister an object that provides help data to your app.

## Declaration

```swift
func unregisterUserInterfaceItemSearchHandler(_ handler: any NSUserInterfaceItemSearching)
```

## Parameters

- `handler`: The class instance that conforms to NSUserInterfaceItemSearching and provides help content.

## Discussion

Discussion If you unregister the same instance more than once the subsequent invocations are ignored. Unregistering an instance that was never registered is ignored.

## See Also

### Providing help information

- [registerUserInterfaceItemSearchHandler(_:)](appkit/nsapplication/registeruserinterfaceitemsearchhandler(_:).md)
- [searchString(_:inUserInterfaceItemString:range:found:)](appkit/nsapplication/searchstring(_:inuserinterfaceitemstring:range:found:).md)
- [showHelp(_:)](appkit/nsapplication/showhelp(_:).md)
- [activateContextHelpMode(_:)](appkit/nsapplication/activatecontexthelpmode(_:).md)
- [helpMenu](appkit/nsapplication/helpmenu.md)
