The NSUserInterfaceItemSearching protocol show an application can implement Spotlight for Help for their own custom help data.
Language
- Swift
- Objective-C
SDK
- macOS 10.10+
Overview
In general, users find the Help search functionality very useful. However, many large applications don't use Apple Help API because of cross platform requirements. Hence, important Help topics are not presented as part of the Help menu. This API allows developers to incorporate their own Help topics and take full advantage of the Help feature.
In your application you implement the NSUserInterfaceItemSearching protocol and then register your object with registerUserInterfaceItemSearchHandler(_:).