             loaderView.alpha = newValue
         }
     }
-
+    
     /// Loader view corner radius (Default: 0.0)
     open var cornerRadius: CGFloat {
         get { return _cornerRadius }

            strokeLayer.strokeColor = newValue?.cgColor
        }
    }

    /// Loader outline line width (Default: 0.5)
    open var loaderStrokeWidth: CGFloat {
        get { return _loaderStrokeWidth }

        shapeLayer.add(progressAnimation, forKey: "progress")
        oldYPoint = yPoint
    }
    
    internal func startswinging() {
        let swingAnimation: CAKeyframeAnimation = CAKeyframeAnimation(keyPath: "transform.rotation.z")
        swingAnimation.values = [0, randomAngle(), -randomAngle(), randomAngle(), -randomAngle(), randomAngle(), 0]
