BGReplyCell.h 954 B

1234567891011121314151617181920212223242526272829303132
  1. //
  2. // BGReplyCell.h
  3. // BuguLive
  4. //
  5. // Created by fanwe2014 on 2017/3/21.
  6. // Copyright © 2017年 xfg. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. @class CommentModel;
  10. @protocol commentDeleGate <NSObject>
  11. //点击cell的代理事件
  12. - (void)commentNewsWithTag:(int)tag;
  13. //点击回复的名字的点击事件
  14. -(void)clickNameStringWithTag:(int)tag;
  15. @end
  16. @interface BGReplyCell : UITableViewCell
  17. @property (nonatomic,weak)id<commentDeleGate>CDelegate;
  18. @property (nonatomic,strong)UIImageView *headImgView;
  19. @property (nonatomic,strong)UIImageView *iconImgView;
  20. @property (nonatomic,strong)UILabel *nameLabel;
  21. @property (nonatomic,strong)UILabel *replyLabel;
  22. @property (nonatomic,strong)UILabel *timeLabel;
  23. @property (nonatomic,strong)UIButton *nameBtn;
  24. @property (nonatomic,strong)UIView *lineView;
  25. @property (nonatomic,strong)UIButton *clearBtn;
  26. - (CGFloat)creatCellWithModel:(CommentModel *)model andRow:(int)row;
  27. @end