     }
 }
 #endif
-
-#endif

//
//  The name and characters used in the demo of this software are property of their
//  respective owners.

#if !os(watchOS)

#if canImport(UIKit)
import UIKit


        private func incrementCurrentFrameIndex() {
            currentFrameIndex = increment(frameIndex: currentFrameIndex)
            if isLastFrame {
                currentRepeatCount += 1
                if isReachMaxRepeatCount {
                    isFinished = true
                }
                delegate?.animator(self, didPlayAnimationLoops: currentRepeatCount)
            }
        }
