FollowerTableViewCell.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. //
  2. // FollowerTableViewCell.h
  3. // BuguLive
  4. //
  5. // Created by fanwe2014 on 16/6/18.
  6. // Copyright © 2016年 xfg. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. typedef void(^ReloadCellData)(NSInteger index);
  10. @protocol loadAgainDelegate <NSObject>
  11. //重新加载某一段
  12. - (void)loadAgainSection:(int)section withHasFonce:(int)hasFonce;
  13. @end
  14. @class SenderModel;
  15. @interface FollowerTableViewCell : UITableViewCell
  16. @property (nonatomic, weak) id<loadAgainDelegate>delegate;
  17. @property (strong, nonatomic) IBOutlet UIButton *joinBtn;
  18. @property (weak, nonatomic) IBOutlet UIImageView *headImgView;
  19. @property (weak, nonatomic) IBOutlet UILabel *nameLabel;
  20. @property (weak, nonatomic) IBOutlet UIImageView *sexImgView;
  21. @property (weak, nonatomic) IBOutlet UIImageView *rankImgView;
  22. @property (weak, nonatomic) IBOutlet UILabel *commentLabel;
  23. //@property (weak, nonatomic) IBOutlet UIImageView *rightImgView;
  24. @property (weak, nonatomic) IBOutlet UIView *lineView;
  25. @property (nonatomic, strong) NetHttpsManager *httpManager;
  26. @property (nonatomic, copy) NSString *user_id;
  27. @property (nonatomic, assign) int section;
  28. @property (nonatomic, assign) int cellType;
  29. @property (nonatomic, assign) int hasFonce;
  30. @property (nonatomic, copy) ReloadCellData reloadCellData;
  31. - (void)creatCellWithModel:(SenderModel *)model WithRow:(int)row;
  32. @end