diff --git a/Source/AnimatedImage.swift b/Source/AnimatedImage.swift index a2b9b73..9171b7a 100755 --- a/Source/AnimatedImage.swift +++ b/Source/AnimatedImage.swift @@ -72,12 +72,16 @@ public class AnimatedImage: UIImage { let numberOfFrames = Int(CGImageSourceGetCount(imageSource)) animatedFrames.reserveCapacity(numberOfFrames) - (animatedFrames, totalDuration) = reduce(0..