Instance Property

delegate

The search view controller’s delegate or nil if the receiver doesn’t have a delegate.

Declaration

@IBOutlet weak var delegate: NCWidgetSearchViewDelegate? { get set }

Discussion

A search view controller’s delegate performs a search on the input term and updates the controller’s searchResults property with the results.

See Also

Enabling Search

protocol NCWidgetSearchViewDelegate

The interface for enabling user searches in the search view controller of a macOS Today widget.