A completion handler block for a search operation.
- iOS 6.1+
- macOS 10.9+
- tvOS 9.2+
- watchOS 5.0+
This block takes two parameters:
responseparameter contains the search results. If an error occurred, this parameter is set to
niland an appropriate error object is provided in the
nilif the search was successful. If an error occurred during the operation, this parameter is set to an appropriate error object.
This block has no return value.