Instance Property

delegate

The query’s delegate.

Declaration

unowned(unsafe) var delegate: NSMetadataQueryDelegate? { get set }

Discussion

This property contains an object that acts as the query’s delegate, or nil. The delegate must implement the NSMetadataQueryDelegate. Pass nil to remove the current delegate.