URL
struct URL : ReferenceConvertible, Equatable
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
-
Declaration
Swift
public var downloadURL: URL