         nextAnimation()
     }
     
-    func stopAnimation() {
+    public func stopAnimation() {
         layer.removeAnimationForKey(LotateAnimationKey)
         pathLayer = nil
     }

        return animationCount
    }
    
    override func drawRect(rect: CGRect) {
        super.drawRect(rect)
        
        if animating {

import UIKit

@IBDesignable
public class SpringIndicator: UIView {
    private let LotateAnimationKey = "rotateAnimation"
    private let ExpandAnimationKey = "expandAnimation"
    private let ContractAnimationKey = "contractAnimation"
