Kingfisher Documentation

Enumeration Animated​Image​View.​Repeat​Count

public enum RepeatCount: Equatable  

Enumeration that specifies repeat count of GIF

%261 AnimatedImageView.RepeatCount AnimatedImageView.RepeatCount Equatable Equatable AnimatedImageView.RepeatCount->Equatable

Member Of

AnimatedImageView

Represents a subclass of UIImageView for displaying animated image. Different from showing animated image in a normal UIImageView (which load all frames at one time), AnimatedImageView only tries to load several frames (defined by framePreloadCount) to reduce memory usage. It provides a tradeoff between memory usage and CPU time. If you have a memory issue when using a normal image view to load GIF data, you could give this class a try.

Conforms To

Equatable

Enumeration Cases

once

case once

finite

case finite(count: UInt) 

infinite

case infinite

Operators

==

public static func ==(lhs: RepeatCount, rhs: RepeatCount) -> Bool