YBSetChargeView.h 721 B

12345678910111213141516171819202122232425262728293031323334
  1. //
  2. // YBSetChargeView.h
  3. // YBVideo
  4. //
  5. // Created by YB007 on 2019/11/27.
  6. // Copyright © 2019 cat. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. NS_ASSUME_NONNULL_BEGIN
  10. typedef void (^YBSetChargeBlock)(NSString *priceStr);
  11. @interface YBSetChargeView : UIView
  12. @property (weak, nonatomic) IBOutlet UIView *bgView;
  13. @property(nonatomic,copy)YBSetChargeBlock chargeEvent;
  14. @property (weak, nonatomic) IBOutlet MyTextField *chargeTF;
  15. @property (weak, nonatomic) IBOutlet UILabel *titleL;
  16. @property (weak, nonatomic) IBOutlet UILabel *tipsL;
  17. @property (weak, nonatomic) IBOutlet UIButton *sureBtn;
  18. +(instancetype)showInputView:(NSString *)price complete:(YBSetChargeBlock)complete;
  19. @end
  20. NS_ASSUME_NONNULL_END