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);