         if (self.animated) {
             UIView.animate(withDuration: 0.3, animations: { () -> Void in
                 self.alpha = 0
-            }, completion: { (finished) -> Void in
-                self.removeFromSuperview()
-                self.coverView?.removeFromSuperview()
-                self.loadingView?.stop()
+                }, completion: { (finished) -> Void in
+                    self.removeFromSuperview()
+                    self.coverView?.removeFromSuperview()
+                    self.loadingView?.stop()
             });
         } else {
             self.alpha = 0

        loader.update()
        
        NotificationCenter.default.addObserver(loader, selector: #selector(loader.rotated(notification: )),
                                               name: NSNotification.Name.UIDeviceOrientationDidChange,
                                               object: nil)
        
        let height : CGFloat = UIScreen.main.bounds.size.height
        let width : CGFloat = UIScreen.main.bounds.size.width

    }
    
    public class func hide() {
        
        let loader = SwiftLoader.sharedInstance
        NotificationCenter.default.removeObserver(loader)
        
        loader.stop()
    }
    
