Indicator
public protocol Indicator
An indicator type which can be used to show the download task is in progress.
-
Called when the indicator should start animating.
Declaration
Swift
func startAnimatingView()
-
Called when the indicator should stop animating.
Declaration
Swift
func stopAnimatingView()
-
centerOffset
Default implementationCenter offset of the indicator. Kingfisher will use this value to determine the position of indicator in the super view.
Default Implementation
Default implementation of
centerOffset
ofIndicator
. The default value is.zero
, means that there is no offset for the indicator view.Declaration
Swift
var centerOffset: CGPoint { get }
-
The indicator view which would be added to the super view.
Declaration
Swift
var view: IndicatorView { get }