Kingfisher Documentation

Protocol Placeholder

public protocol Placeholder  

Represents a placeholder type which could be set while loading as well as loading finished without getting an image.

Default Implementations

add(to:​)

public func add(to imageView: KFCrossPlatformImageView)  

How the placeholder should be added to a given image view.

remove(from:​)

public func remove(from imageView: KFCrossPlatformImageView)  

How the placeholder should be removed from a given image view.

Requirements

add(to:​)

func add(to imageView: KFCrossPlatformImageView) 

How the placeholder should be added to a given image view.

remove(from:​)

func remove(from imageView: KFCrossPlatformImageView) 

How the placeholder should be removed from a given image view.