UNImageRequester
public protocol UNImageRequester: class
Protocol that an object must to conform to in order to make some of the requests.
-
Function called when the UNClient has finished with the request.
Declaration
Swift
func clientDidCompleteExclusiveImageRequest(for photo: UNPhoto,
Parameters
photo
The photo that was requested.
size
The size of the requested photo.
dataImage
The image received from Unsplash if the request was successful.
error
If the request failed, the error represents the reason why it failed.