                 }
             }
             spinnerView.spinner.messageLabel.isHidden = false
-            spinnerView.spinner.bringSubview(toFront: spinnerView.spinner.messageLabel)
+            spinnerView.spinner.bringSubviewToFront(spinnerView.spinner.messageLabel)
             spinnerView.spinner.layoutIfNeeded()
         }
         

      
      
      spinnerView.spinner.messageLabel.isHidden = true
      spinnerView.spinner.bringSubview(toFront: spinnerView.spinner.messageLabel)
      spinnerView.spinner.layoutIfNeeded()
      
      spinnerView.animate()

    line3.layer.cornerRadius = lineWidth/2.0
    containerView.addSubview(line3)
    
    bringSubviewToFront(containerView)
   
    overlayView.addSubview(messageLabel)
    
