Placeholder
public protocol Placeholder
Represents a placeholder type which could be set while loading as well as loading finished without getting an image.
-
How the placeholder should be added to a given image view.
Declaration
Swift
func add(to imageView: KFCrossPlatformImageView)
-
How the placeholder should be removed from a given image view.
Declaration
Swift
func remove(from imageView: KFCrossPlatformImageView)
-
add(to:)
Default implementationDefault Implementation
How the placeholder should be added to a given image view.
Declaration
Swift
public func add(to imageView: KFCrossPlatformImageView)
-
remove(from:)
Default implementationDefault Implementation
How the placeholder should be removed from a given image view.
Declaration
Swift
public func remove(from imageView: KFCrossPlatformImageView)