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

    }
    
    public class func showDeterminiteSpinnerOnView(view:UIView, spinnerColor:UIColor? = nil, backgroundColor:UIColor? = nil, fullCycleTime:Double = 4.0, initialProgress:CGFloat = 0.0) -> JHSpinnerView {
    
        let defaultWhite = UIColor(red: 250.0/255.0, green: 250.0/255.0, blue: 250.0/255.0, alpha: 1.0)
        let defaultBlack = UIColor(red: 40.0/255.0, green: 40.0/255.0, blue: 40.0/255.0, alpha: 1.0)
        

        
        spinner.overlayView.backgroundColor = myOverlayColor
        
        spinner.layoutOverlayView()
        
        spinner.addSubview(spinner.overlayView)
        spinner.bringSubviewToFront(spinner.spinnerContainerView)
