Contents

registerUserInterfaceItemSearchHandler(_:)

Register an object that provides help data to your app.

Declaration

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.

See Also

Providing help information