UIButton
extension UIButton: AlamofireExtended
-
Undocumented
Declaration
Swift
public var af_imageDownloader: ImageDownloader? { get set }
-
Undocumented
Declaration
Swift
public class var af_sharedImageDownloader: ImageDownloader { get set }
-
Undocumented
Declaration
Swift
public func af_setImage(for state: ControlState, url: URL, cacheKey: String? = nil, placeholderImage: UIImage? = nil, serializer: ImageResponseSerializer? = nil, filter: ImageFilter? = nil, progress: ImageDownloader.ProgressHandler? = nil, progressQueue: DispatchQueue = DispatchQueue.main, completion: ((AFIDataResponse<UIImage>) -> Void)? = nil)
-
af_setImage(for:
urlRequest: cacheKey: placeholderImage: serializer: filter: progress: progressQueue: completion: ) Undocumented
Declaration
Swift
public func af_setImage(for state: ControlState, urlRequest: URLRequestConvertible, cacheKey: String? = nil, placeholderImage: UIImage? = nil, serializer: ImageResponseSerializer? = nil, filter: ImageFilter? = nil, progress: ImageDownloader.ProgressHandler? = nil, progressQueue: DispatchQueue = DispatchQueue.main, completion: ((AFIDataResponse<UIImage>) -> Void)? = nil)
-
Cancels the active download request for the image, if one exists.
Declaration
Swift
public func af_cancelImageRequest(for state: ControlState)
-
af_setBackgroundImage(for:
url: cacheKey: placeholderImage: serializer: filter: progress: progressQueue: completion: ) Undocumented
Declaration
Swift
public func af_setBackgroundImage(for state: ControlState, url: URL, cacheKey: String? = nil, placeholderImage: UIImage? = nil, serializer: ImageResponseSerializer? = nil, filter: ImageFilter? = nil, progress: ImageDownloader.ProgressHandler? = nil, progressQueue: DispatchQueue = DispatchQueue.main, completion: ((AFIDataResponse<UIImage>) -> Void)? = nil)
-
af_setBackgroundImage(for:
urlRequest: cacheKey: placeholderImage: serializer: filter: progress: progressQueue: completion: ) Undocumented
Declaration
Swift
public func af_setBackgroundImage(for state: ControlState, urlRequest: URLRequestConvertible, cacheKey: String? = nil, placeholderImage: UIImage? = nil, serializer: ImageResponseSerializer? = nil, filter: ImageFilter? = nil, progress: ImageDownloader.ProgressHandler? = nil, progressQueue: DispatchQueue = DispatchQueue.main, completion: ((AFIDataResponse<UIImage>) -> Void)? = nil)
-
Cancels the active download request for the background image, if one exists.
Declaration
Swift
public func af_cancelBackgroundImageRequest(for state: ControlState)