EMAlertController.h 559 B

12345678910111213141516171819202122232425262728293031
  1. //
  2. // EMAlertController.h
  3. // ChatDemo-UI3.0
  4. //
  5. // Created by XieYajie on 2018/12/24.
  6. // Copyright © 2018 XieYajie. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. NS_ASSUME_NONNULL_BEGIN
  10. typedef NS_ENUM(NSInteger, EMAlertViewStyle) {
  11. EMAlertViewStyleDefault,
  12. EMAlertViewStyleError,
  13. EMAlertViewStyleInfo,
  14. EMAlertViewStyleSuccess,
  15. };
  16. @interface EMAlertController : UIView
  17. + (void)showErrorAlert:(NSString *)aStr;
  18. + (void)showSuccessAlert:(NSString *)aMessage;
  19. + (void)showInfoAlert:(NSString *)aMessage;
  20. @end
  21. NS_ASSUME_NONNULL_END