Kingfisher Documentation

Enumeration Indicator‚ÄčType

public enum IndicatorType  

Represents the activity indicator type which should be added to an image view when an image is being downloaded.

  • none: No indicator.

  • activity: Uses the system activity indicator.

  • image: Uses an image as indicator. GIF is supported.

  • custom: Uses a custom indicator. The type of associated value should conform to the Indicator protocol.

Enumeration Cases

none

case none

No indicator.

activity

case activity

Uses the system activity indicator.

image

case image(imageData: Data) 

Uses an image as indicator. GIF is supported.

custom

case custom(indicator: Indicator) 

Uses a custom indicator. The type of associated value should conform to the Indicator protocol.