KSImageAlert.h 678 B

123456789101112131415161718192021222324252627282930313233
  1. //
  2. // KSImageAlert.h
  3. // StudentDaya
  4. //
  5. // Created by Kyle on 2019/9/2.
  6. // Copyright © 2019 DayaMusic. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import "BaseAlertView.h"
  10. typedef void(^AlertCallback)(BOOL isSure);
  11. NS_ASSUME_NONNULL_BEGIN
  12. @interface KSImageAlert : BaseAlertView
  13. @property (weak, nonatomic) IBOutlet UILabel *topTitle;
  14. @property (weak, nonatomic) IBOutlet UILabel *titleLabel;
  15. @property (weak, nonatomic) IBOutlet UIButton *cancleButton;
  16. @property (weak, nonatomic) IBOutlet UIButton *sureButton;
  17. + (instancetype)shareInstance;
  18. - (void)sureCallback:(AlertCallback)callback;
  19. - (void)showAlert;
  20. - (void)hiddenAction;
  21. @end
  22. NS_ASSUME_NONNULL_END