ImageLoader
public class ImageLoader: NSObject
A class used to load images asynchronously
-
Initializes an imageLoader according the selected implementation
Declaration
Swift
public override init() -
Load an image with the configured adapter
Declaration
Swift
public func loadImage(url: URL, imageView: UIImageView)Parameters
urlthe URL of the image to be loaded
imageViewthe imageView that should contain the image loaded
-
load an image using a placeholder in the meantime
Declaration
Swift
public func loadImage(url: URL, placeholder: UIImage, imageView: UIImageView)Parameters
urlthe URL of the image to be loaded
placeholderthe UIImage that should be used as a placeholder
imageViewthe imageView that should contain the image loaded
View on GitHub
ImageLoader Class Reference