Instance Method

widgetSearch:resultSelected:

Tells the delegate that a user chose the specified search result.

Required.

Declaration

- (void)widgetSearch:(NCWidgetSearchViewController *)controller resultSelected:(id)object;

Parameters

controller

The widget’s search view controller.

object

The object in the search view controller’s searchResults array that represents the search result chosen by the user.

Discussion

When this method returns, the search view controller is dismissed.

See Also

Responding to User Choices

- widgetSearchTermCleared:

Tells the delegate that a user cleared the search field.

Required.