Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 583 Bytes

README.md

File metadata and controls

35 lines (25 loc) · 583 Bytes

DxLoadingHUD

Loading HUD by Swift

Loading animation HUD,base on https://github.com/pkluz/PKHUD and https://github.com/iamim2/OneLoadingAnimation

image

usage:

show:

DxLoadingHUD.sharedInstance.show();

success:

DxLoadingHUD.sharedInstance.showSuccessAnimation();

failed:

DxLoadingHUD.sharedInstance.showErrorAnimation();

empty:

DxLoadingHUD.sharedInstance.showEmptyAnimation();

hide:

DxLoadingHUD.sharedInstance.hide(animated:true);