Kingfisher Documentation

Protocol Animated​Image​View​Delegate

public protocol AnimatedImageViewDelegate: AnyObject  

Protocol of AnimatedImageView.

%3 AnimatedImageViewDelegate AnimatedImageViewDelegate AnyObject AnyObject AnimatedImageViewDelegate->AnyObject

Conforms To

AnyObject

Default Implementations

animated​Image​View(_:​did​Play​Animation​Loops:​)

public func animatedImageView(_ imageView: AnimatedImageView, didPlayAnimationLoops count: UInt)  

animated​Image​View​Did​Finish​Animating(_:​)

public func animatedImageViewDidFinishAnimating(_ imageView: AnimatedImageView)  

Requirements

animated​Image​View(_:​did​Play​Animation​Loops:​)

func animatedImageView(_ imageView: AnimatedImageView, didPlayAnimationLoops count: UInt) 

Called after the animatedImageView has finished each animation loop.

Parameters

image​View Animated​Image​View

The AnimatedImageView that is being animated.

count UInt

The looped count.

animated​Image​View​Did​Finish​Animating(_:​)

func animatedImageViewDidFinishAnimating(_ imageView: AnimatedImageView) 

Called after the AnimatedImageView has reached the max repeat count.

Parameters

image​View Animated​Image​View

The AnimatedImageView that is being animated.