UIImageView

  • Convenience function to set the image on a UIImageView from a key. Stores the data task on self, call cancelAirImageDownload 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()