         
         return spinner
     }
-
+    
     public class func showOnView(view:UIView, spinnerColor:UIColor? = nil, overlay:JHSpinnerOverlay = .FullScreen, overlayColor:UIColor? = nil, fullCycleTime:Double = 4.0, attributedText:NSAttributedString) -> JHSpinnerView {
         
         let defaultWhite = UIColor(red: 250.0/255.0, green: 250.0/255.0, blue: 250.0/255.0, alpha: 1.0)

        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)
    }

        spinner.overlayView.backgroundColor = myOverlayColor
        
        let size = 75
        
        spinner.overlayView.frame = CGRect(x: Int(spinner.center.x) - (size/2), y: Int(spinner.center.y) - (size/2), width: size, height: size)
        spinner.overlayView.layer.cornerRadius = CGFloat(size/2)
        
        spinner.addSubview(spinner.overlayView)
        spinner.bringSubviewToFront(spinner.spinnerContainerView)
        
