 import UIKit
 import ImageIO
 
+/// Protocol of `AnimatedImageView`.
 public protocol AnimatedImageViewDelegate: class {
+    /**
+     Called after the animatedImageView has reached the max repeat count.
+
+     - parameter imageView: The animatedImageView that is being animated.
+     */
     func didFinishAnimate(for imageView: AnimatedImageView)
 }
 

        }
    }

    public var repeatCount = RepeatCount.infinite {
        didSet {
            if oldValue != repeatCount {

        }
    }

    /// A delegate to be called after reach max repeat count.
    public var delegate: AnimatedImageViewDelegate?
    
    // MARK: - Private property
