ComontAlretViewController.h 992 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. //
  2. // ComontAlretViewController.h
  3. // 隐私保护
  4. //
  5. // Created by APPLE on 2023/8/30.
  6. //
  7. #import "BaseViewController.h"
  8. NS_ASSUME_NONNULL_BEGIN
  9. @protocol ComontAlretViewControllerDelegate <NSObject>
  10. - (void)CommonAlertokBtnClickPressed;
  11. - (void)CommonAlertCancelBtnClickPressed;
  12. @end
  13. /**
  14. * 点击确定
  15. */
  16. typedef void (^CommonAlert_ClickOkBtn) (void);
  17. /**
  18. * 点击取消
  19. */
  20. typedef void (^CommonAlert_ClickCancelBtn) (void);
  21. @interface ComontAlretViewController : BaseViewController
  22. @property (nonatomic,weak)id <ComontAlretViewControllerDelegate> delegate;
  23. - (id)initWithTiTle:(NSString *)title msg:(NSString *)msg imageStr:(NSString *)images cancelTitle:(NSString *)cancelTitle okTitle:(NSString *)okTitle isOkBtnHighlight:(BOOL)okBtnHighlight didClickOk:(CommonAlert_ClickOkBtn)ok didClickCancel:(CommonAlert_ClickCancelBtn)Cancel;
  24. - (void)setButtonCountdownFun:(NSInteger)second;
  25. - (void)setMsgTextAlignment:(NSTextAlignment)textAlignment;
  26. @end
  27. NS_ASSUME_NONNULL_END