The interface for enabling user searches in the search view controller of a macOS Today widget.
- macOS 10.10+
NCWidget protocol defines methods that enable user searches in the search view controller of a Today widget. The
delegate of an
NCWidget must adopt the
The search view controller tells its delegate to perform a search on a user’s input and the delegate returns the results by setting the controller’s
search property. The search view controller also tells its delegate when a user clears the search field or chooses a search result, so that the delegate can prepare for a new search or dismissal.