     func refreshStart(_ scrollView: UIScrollView) {
         sendActions(for: .valueChanged)
         indicator.layer.add(refreshStartAnimation(), forKey: Me.ScaleAnimationKey)
-        indicator.startAnimation(true)
+        indicator.startAnimation(process: .during)
         
         let insetTop = initialInsetTop + bounds.height
         

        }
    }

    fileprivate func nextRotatePath(_ expand: Bool) -> UIBezierPath {
        let pi = CGFloat(expand ? Double.pi_4 : 0)
        let start = pi
        let end = CGFloat(Double.pi + Double.pi_2) + pi
        let center = CGPoint(x: bounds.width / 2, y: bounds.height / 2)


@IBDesignable
open class SpringIndicator: UIView {
    fileprivate enum AnimationProcess {
        case begin, during, skip
    }

    deinit {
        stopAnimation(false)
    }
