URL
extension URL: Resource
URL conforms to Resource
in Kingfisher.
The absoluteString
of this URL is used as cacheKey
. And the URL itself will be used as downloadURL
.
If you need customize the url and/or cache key, use ImageResource
instead.
-
Declaration
Swift
public var cacheKey: String { get }
-
Declaration
Swift
public var downloadURL: URL { get }