         }
     }
 
+    /// The repeat count.
     public var repeatCount = RepeatCount.infinite {
         didSet {
             if oldValue != repeatCount {

        }
    }

    public var delegate: AnimatedImageViewDelegate?
    
    // MARK: - Private property

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)
}

