Loading HUD by Swift
Loading animation HUD,base on https://github.com/pkluz/PKHUD and https://github.com/iamim2/OneLoadingAnimation
usage:
show:
DxLoadingHUD.sharedInstance.show();
success:
DxLoadingHUD.sharedInstance.showSuccessAnimation();
failed:
DxLoadingHUD.sharedInstance.showErrorAnimation();
empty:
DxLoadingHUD.sharedInstance.showEmptyAnimation();
hide:
DxLoadingHUD.sharedInstance.hide(animated:true);