UIImageView
-
Convenience function to set the image on a
UIImageView
from akey
. Stores the data task on self, callcancelAirImageDownload
if you want to stop the download.Declaration
Swift
public func setAirImage(for key: String, file: String = #file, function: String = #function, line: Int = #line)
Parameters
key
-
Cancels the active image download, if there is one
Declaration
Swift
public func cancelAirImageDownload()