UIImageView
extension UIImageView
extension UIImageView: AlamofireExtended
-
Used to wrap all
See moreUIView
animation transition options alongside a duration.Declaration
Swift
public enum ImageTransition
-
Undocumented
Declaration
Swift
public var af_imageDownloader: ImageDownloader? { get set }
-
Undocumented
Declaration
Swift
public class var af_sharedImageDownloader: ImageDownloader { get set }
-
af_setImage(withURL:
cacheKey: placeholderImage: serializer: filter: progress: progressQueue: imageTransition: runImageTransitionIfCached: completion: ) Undocumented
Declaration
Swift
public func af_setImage(withURL url: URL, cacheKey: String? = nil, placeholderImage: UIImage? = nil, serializer: ImageResponseSerializer? = nil, filter: ImageFilter? = nil, progress: ImageDownloader.ProgressHandler? = nil, progressQueue: DispatchQueue = DispatchQueue.main, imageTransition: ImageTransition = .noTransition, runImageTransitionIfCached: Bool = false, completion: ((AFIDataResponse<UIImage>) -> Void)? = nil)
-
af_setImage(withURLRequest:
cacheKey: placeholderImage: serializer: filter: progress: progressQueue: imageTransition: runImageTransitionIfCached: completion: ) Undocumented
Declaration
Swift
public func af_setImage(withURLRequest urlRequest: URLRequestConvertible, cacheKey: String? = nil, placeholderImage: UIImage? = nil, serializer: ImageResponseSerializer? = nil, filter: ImageFilter? = nil, progress: ImageDownloader.ProgressHandler? = nil, progressQueue: DispatchQueue = DispatchQueue.main, imageTransition: ImageTransition = .noTransition, runImageTransitionIfCached: Bool = false, completion: ((AFIDataResponse<UIImage>) -> Void)? = nil)
-
Undocumented
Declaration
Swift
public func af_cancelImageRequest()
-
Undocumented
Declaration
Swift
public func run(_ imageTransition: ImageTransition, with image: Image)