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

# registerUserInterfaceItemSearchHandler(_:)

Register an object that provides help data to your app.

```
func registerUserInterfaceItemSearchHandler(_ handler: any NSUserInterfaceItemSearching)
```

## Parameters

`handler`

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

## Discussion

You can register as many search handlers as you like. If you register the same instance more than once the subsequent registrations are ignored.

---

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)