MGLiveAddWishCell.h 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. //
  2. // MGLiveAddWishCell.h
  3. // BuguLive
  4. //
  5. // Created by 宋晨光 on 2019/12/5.
  6. // Copyright © 2019 xfg. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import "MGLiveWishModel.h"
  10. NS_ASSUME_NONNULL_BEGIN
  11. @protocol MGLiveAddWishCellDelegate <NSObject>
  12. //点击添加礼物
  13. -(void)protocolClickLiveAddWishModel:(MGLiveWishModel *)model;
  14. @end
  15. @interface MGLiveAddWishCell : UITableViewCell<UITextFieldDelegate>
  16. @property(nonatomic, strong) UIImageView *iconImgView;
  17. @property(nonatomic, strong) UILabel *topicL;
  18. @property(nonatomic, strong) UILabel *contentL;
  19. @property(nonatomic, strong) UITextField *textField;
  20. @property(nonatomic, strong) UIView *line;
  21. @property(nonatomic, strong) UIButton *addBtn;
  22. @property(nonatomic, strong) MGLiveWishModel *model;
  23. @property(nonatomic, weak) id<MGLiveAddWishCellDelegate> delegate;
  24. @property(nonatomic, assign) MGADD_WISH wishType;
  25. -(void)resetCellWithWishType:(MGADD_WISH)wishType WithModel:(MGLiveWishModel *)model;
  26. @property(nonatomic, copy) void (^textFieldBlock)(NSString *str);
  27. @end
  28. NS_ASSUME_NONNULL_END