RSDFetchableImageThemeElement
public protocol RSDFetchableImageThemeElement : RSDImageThemeElement
RSDFetchableImageThemeElement defines an image that can be fetched asynchronously.
-
A method for fetching the image.
Declaration
Swift
func fetchImage(for size: CGSize, callback: @escaping ((UIImage?) -> Void))Parameters
sizeThe size of the image to return.
callbackThe callback with the image, run on the main thread.
View on GitHub
RSDFetchableImageThemeElement Protocol Reference