Suggest an additional param for EZLoadingActivity.showWithDelay().
completion callback/handler makes this method far more useful:
@discardableResult
public static func showWithDelay(_ text: String, disableUI: Bool, seconds: Double, completion: (() -> Void)? = nil) -> Bool {
let showValue = show(text, disableUI: disableUI)
delay(seconds) { () -> () in
_ = hide(true, animated: false)
completion?()
}
return showValue
}