AnimatedImageViewDelegate
public protocol AnimatedImageViewDelegate : AnyObject
Protocol of AnimatedImageView
.
-
animatedImageView(_:didPlayAnimationLoops:)
Default implementationCalled after the animatedImageView has finished each animation loop.
Default Implementation
Declaration
Swift
func animatedImageView(_ imageView: AnimatedImageView, didPlayAnimationLoops count: UInt)
Parameters
imageView
The
AnimatedImageView
that is being animated.count
The looped count.
-
animatedImageViewDidFinishAnimating(_:)
Default implementationCalled after the
AnimatedImageView
has reached the max repeat count.Default Implementation
Declaration
Swift
func animatedImageViewDidFinishAnimating(_ imageView: AnimatedImageView)
Parameters
imageView
The
AnimatedImageView
that is being animated.