Instance Method


Register an object that provides help data to your app.


func registerUserInterfaceItemSearchHandler(_ handler: NSUserInterfaceItemSearching)



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


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

func unregisterUserInterfaceItemSearchHandler(NSUserInterfaceItemSearching)

Unregister an object that provides help data to your app.

func showHelp(Any?)

If your project is properly registered, and the necessary keys have been set in the property list, this method launches Help Viewer and displays the first page of your app’s help book.

func activateContextHelpMode(Any?)

Places the receiver in context-sensitive help mode.

var helpMenu: NSMenu?

The help menu used by the app.