RegAlertView.h 782 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. //
  2. // RegAlertView.h
  3. // yunbaolive
  4. //
  5. // Created by YB007 on 2020/4/29.
  6. // Copyright © 2020 cat. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import <YYText/YYLabel.h>
  10. #import <YYText/NSAttributedString+YYText.h>
  11. NS_ASSUME_NONNULL_BEGIN
  12. typedef void (^RegAlertBlock)(int code);
  13. @interface RegAlertView : UIView
  14. @property(nonatomic,copy)RegAlertBlock regAlertEvent;
  15. @property (weak, nonatomic) IBOutlet UIView *bgView;
  16. @property (weak, nonatomic) IBOutlet UILabel *titleL;
  17. @property (weak, nonatomic) IBOutlet YYLabel *contentL;
  18. @property (weak, nonatomic) IBOutlet UIButton *notAgreeBtn;
  19. @property (weak, nonatomic) IBOutlet UIButton *agreeBtn;
  20. +(instancetype)showRegAler:(NSDictionary *)dataDic complete:(RegAlertBlock)complete;
  21. @end
  22. NS_ASSUME_NONNULL_END