Asks the delegate to search using the specified term.
- macOS 10.10+
The widget’s search view controller.
The term a user entered into the search field.
The maximum number of results the search view controller can display.
The search view controller calls this method as soon as a user begins to type. If there is a maximum number of results the search view controller can display, it specifies this number in
max. The delegate can use
max to decide how many search results to return.
The delegate sets the search view controller’s
search property to the array of search result objects.