GroupSquareCell.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. //
  2. // GroupSquareCell.h
  3. // smartRhino
  4. //
  5. // Created by niuzhen on 2020/5/6.
  6. // Copyright © 2020 tederen. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import "GroupSquareModel.h"
  10. NS_ASSUME_NONNULL_BEGIN
  11. @interface GroupSquareCell : UITableViewCell
  12. @property (weak, nonatomic) IBOutlet UILabel *NameL;
  13. @property (weak, nonatomic) IBOutlet UIView *BlueView;
  14. @property (weak, nonatomic) IBOutlet UIImageView *IconView;
  15. @property (weak, nonatomic) IBOutlet UILabel *titleL;
  16. @property (weak, nonatomic) IBOutlet UILabel *userCountL;
  17. @property (weak, nonatomic) IBOutlet UILabel *TopicCountL;
  18. @property (weak, nonatomic) IBOutlet UILabel *subTitleL;
  19. @property (weak, nonatomic) IBOutlet UIButton *JoinBtn;
  20. + (CGFloat)configCell0Height;
  21. + (CGFloat)configCell1Height;
  22. + (GroupSquareCell *)configCell0:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath;
  23. + (GroupSquareCell *)configCell1:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath;
  24. - (void)setLeftDataModel:(GroupSquareModel *)model;
  25. - (void)setRightDataModel:(GroupSquareModel *)model;
  26. @end
  27. NS_ASSUME_NONNULL_END