SetUserAgreementView.h 711 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. //
  2. // SetUserAgreementView.h
  3. // VclustersGemini
  4. //
  5. // Created by ypp on 2021/1/4.
  6. // Copyright © 2021 APPLE. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. NS_ASSUME_NONNULL_BEGIN
  10. @protocol SetUserAgreementViewDelegate <NSObject>
  11. - (void)optionalBtnPressed; //用户使用协议
  12. - (void)privateBtnPressed; //隐私协议
  13. @end
  14. @interface SetUserAgreementView : UIView
  15. //同意协议按钮
  16. @property (nonatomic,strong) UIButton *agreeBtn;
  17. //用户使用协议
  18. @property (nonatomic,strong) UIButton *optionalBtn;
  19. //隐私协议
  20. @property (nonatomic,strong) UIButton *privateBtn;
  21. @property (nonatomic,weak)id<SetUserAgreementViewDelegate> delegate;
  22. - (void)refreshUI;
  23. @end
  24. NS_ASSUME_NONNULL_END