         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)
         

        switch overlay {
        case .FullScreen:
            
            spinner.overlayView.frame = spinner.bounds
            
        case .Square:
            spinner.overlayView.frame = CGRect(x: Int(spinner.center.x) - (size/2), y: Int(spinner.center.y) - (size/2), width: size, height: size)
        case .RoundedSquare:
            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 = 8.0
        case .Circular:
            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)
        case .Custom(let size, let cornerRadius):
            spinner.overlayView.frame = CGRect(x: Int(spinner.center.x) - Int(size.width/2), y: Int(spinner.center.y) - Int(size.height/2), width: Int(size.width), height: Int(size.height))
            if cornerRadius > 0 {
                spinner.overlayView.layer.cornerRadius = cornerRadius
            }
        }
    }

        
        spinner.overlayView.backgroundColor = myOverlayColor
        
        spinner.layoutOverlayView()
        
        spinner.addSubview(spinner.overlayView)
        spinner.bringSubviewToFront(spinner.spinnerContainerView)
        
        spinner.messageLabel.attributedText = attributedText
        spinner.messageWidth.constant = spinner.overlayView.frame.width - 16
        spinner.messageHeight.constant = (spinner.overlayView.frame.height/2) - (spinner.spinnerContainerView.frame.height/2) - spinner.messageTop.constant
