             }
         }
     }
-    
+        
     private static var instance: LoadingActivity?
     private static var hidingInProgress = false
     
     /// Disable UI stops users touch actions until CozyLoadingActivity is hidden. Return success status
-    static func show(text: String, sender: UIViewController, disableUI: Bool) -> Bool {
+    static func show(text: String, disableUI: Bool) -> Bool {
         guard instance == nil else {
             print("CozyLoadingActivity: You still have an active activity, please stop that before creating a new one")
             return false
         }
         
-        instance = LoadingActivity(text: text, sender: sender, disableUI: disableUI)
+        instance = LoadingActivity(text: text, disableUI: disableUI)
         return true
     }
     
-    static func showWithDelay(text: String, sender: UIViewController, disableUI: Bool, seconds: Double) -> Bool {
-        let showValue = show(text, sender: sender, disableUI: disableUI)
+    static func showWithDelay(text: String, disableUI: Bool, seconds: Double) -> Bool {
+        let showValue = show(text, disableUI: disableUI)
         delay(seconds) { () -> () in
             hide(success: true, animated: false)
         }
         return showValue
     }
-
+    
     /// Returns success status
     static func hide(success success: Bool? = nil, animated: Bool = false) -> Bool {
         guard instance != nil else {

    }
}




        } else {
            instance?.hideLoadingActivity(success: success, animated: animated)
        }
        
        return true
    }
    
