BGDynamicCell.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. //
  2. // BGDynamicCell.h
  3. // BuguLive
  4. //
  5. // Created by fanwe2014 on 2017/3/15.
  6. // Copyright © 2017年 xfg. All rights reserved. nameLabel
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import "PersonCenterListModel.h"
  10. @class BGDynamicCell;
  11. @protocol DynamicCellDelegate <NSObject>
  12. - (void)onPressZanBtnOnDynamicCell:(BGDynamicCell *)cell andTag:(int)tag;
  13. - (void)onPressImageView:(BGDynamicCell *)cell andTag:(int )tag;
  14. @end
  15. @interface BGDynamicCell : UITableViewCell<TTTAttributedLabelDelegate>
  16. @property(nonatomic,strong)UIImageView *headView;
  17. @property(nonatomic,strong)UIButton *deleteBtn;
  18. @property(nonatomic,strong)UIView *bodyView;
  19. @property(nonatomic,strong)UIView *zanBarView;
  20. @property(nonatomic,strong)UIView *footView;
  21. @property(nonatomic,strong)UILabel *fromName;
  22. @property(nonatomic,strong)PersonCenterListModel *data;
  23. @property(nonatomic,strong)UIImageView *zanBtn;
  24. @property(nonatomic,strong)UIImageView *replyBtn;
  25. @property(nonatomic,strong)NSDictionary *dynamicPower;
  26. @property(nonatomic,weak)id<DynamicCellDelegate> DDelegate;
  27. @property(nonatomic,strong)NSMutableArray *imgArray;
  28. @property(nonatomic,strong)NSMutableArray *imgViewArray;
  29. @property(nonatomic,strong)UIImageView *iconView;
  30. @property(nonatomic,strong)UILabel *nameLabel;
  31. @property(nonatomic,strong)UIImageView *topView;
  32. @property(nonatomic,strong)UILabel *timeLabel;
  33. @property(nonatomic,strong)UILabel *placeLabel;
  34. @property(nonatomic,strong)UILabel *redbagLabel;
  35. @property (nonatomic,assign)int row;
  36. -(void)setData:(PersonCenterListModel *)data andRow:(int)row;
  37. @end