         
         private func update() {
             self.lineWidth = self.config.spinnerLineWidth
+            self.speed = self.config.speed
             
             self.backgroundLayer?.lineWidth = CGFloat(self.lineWidth!)
             self.backgroundLayer?.strokeColor = self.config.spinnerColor.CGColor

    */
    class SwiftLoadingView : UIView {
        
        private var lineWidth : Float?
        private var lineTintColor : UIColor?
        private var backgroundLayer : CAShapeLayer?

            
            let rotationAnimation : CABasicAnimation = CABasicAnimation(keyPath: "transform.rotation.z")
            rotationAnimation.toValue = NSNumber(double: M_PI * 2.0)
            rotationAnimation.duration = CFTimeInterval(speed!);
            rotationAnimation.cumulative = true;
            rotationAnimation.repeatCount = HUGE;
            self.backgroundLayer?.addAnimation(rotationAnimation, forKey: "rotationAnimation")
