Placeholder

public protocol Placeholder

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

  • add(to:) Default implementation

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

    Default Implementation

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

    Declaration

    Swift

    func add(to imageView: ImageView)
  • remove(from:) Default implementation

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

    Default Implementation

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

    Declaration

    Swift

    func remove(from imageView: ImageView)