         let bundle = NSBundle(forClass:JHSpinnerView.self)
         return UINib(nibName: "JHSpinner.bundle/JHSpinnerView", bundle: bundle).instantiateWithOwner(nil, options: nil)[0] as! JHSpinnerView
     }
-
+    
     required public init?(coder aDecoder: NSCoder) {
         super.init(coder: aDecoder)
     }

    @IBOutlet weak var messageHeight:NSLayoutConstraint!
    
    //private var nibView:JHSpinnerView!
    private var overlayView = UIView()
    private var animating = false
    private var animationSpeed = 0.14

        
        let spinner = JHSpinnerView.instanceFromNib()
        spinner.frame = view.bounds
        spinner.overlay = overlay
        spinner.animationSpeed = fullCycleTime/28.34 //MAGIC NUMBER
        spinner.dot1.backgroundColor = mySpinnerColor
        spinner.dot2.backgroundColor = mySpinnerColor
