     */
     class SwiftLoadingView : UIView {
         
+        private var speed : Int?
         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 = 1;
            rotationAnimation.cumulative = true;
            rotationAnimation.repeatCount = HUGE;
            self.backgroundLayer?.addAnimation(rotationAnimation, forKey: "rotationAnimation")

    private var animated : Bool = true
    private var canUpdated = false
    private var title: String?
    private var speed = 1
    
    private var config : Config = Config() {
        didSet {
