CMWarnHUD.h 561 B

1234567891011121314151617181920212223
  1. //
  2. // CMWarnHUD.h
  3. // PBSDK_Example
  4. //
  5. // Created by 陈民 on 2024/12/16.
  6. // Copyright © 2024 uxiume. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. NS_ASSUME_NONNULL_BEGIN
  10. @interface CMWarnHUD : NSObject
  11. + (instancetype)sharedInstance;
  12. - (void)loading:(UIViewController*)controller;//不可操作loading
  13. - (void)canDoLoading:(UIViewController*)controller;//可操作loading
  14. - (void)hideLoading;
  15. - (void)showMessage:(NSString*)message;
  16. - (void)showSuccess:(NSString*)message;
  17. - (void)showError:(NSString*)message;
  18. @end
  19. NS_ASSUME_NONNULL_END