AirImageURLProviding

public protocol AirImageURLProviding

To enable the AirImageCache to get images from a server, provide AirImageCache with an object conforming to this protocol, and implement url(for key: String) -> URL

  • Creates the URL to get a specified image from

    Declaration

    Swift

    func url(for key: String) -> URL?

    Parameters

    key

    Return Value