Tells the delegate that a user chose the specified search result.
Required.
SDK
- macOS 10.10+
Framework
- Notification
Center
Declaration
- (void)widgetSearch:(NCWidget Search View Controller *)controller resultSelected:(id)object;
Parameters
controller
The widget’s search view controller.
object
The object in the search view controller’s
search
array that represents the search result chosen by the user.Results
Discussion
When this method returns, the search view controller is dismissed.