MORemindAlertView.h 763 B

123456789101112131415161718192021222324252627282930313233
  1. //
  2. // MORemindAlertView.h
  3. // MiMoLive
  4. //
  5. // Created by MiMo on 2025/8/21.
  6. //
  7. #import <UIKit/UIKit.h>
  8. NS_ASSUME_NONNULL_BEGIN
  9. typedef void(^MORemindLeftButtonBlock)(BOOL notRemind);
  10. typedef void(^MORemindRightButtonBlock)(BOOL notRemind);
  11. @interface MORemindAlertView : UIView
  12. @property (nonatomic, copy) MORemindLeftButtonBlock leftButtonBlock;
  13. @property (nonatomic, copy) MORemindRightButtonBlock rightButtonBlock;
  14. @property (nonatomic, copy) NSString *titleText;
  15. @property (nonatomic, copy) NSString *remindText;
  16. @property (nonatomic, copy) NSString *leftButtonTitle;
  17. @property (nonatomic, copy) NSString *rightButtonTitle;
  18. - (void)show;
  19. - (void)showInView:(UIView *)superView;
  20. - (void)dismiss;
  21. - (void)hideRemindButton;
  22. @end
  23. NS_ASSUME_NONNULL_END