GroupSquareCell.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  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. #import "GroupSquareSubModel.h"
  11. NS_ASSUME_NONNULL_BEGIN
  12. @interface GroupSquareCell : UITableViewCell
  13. @property (weak, nonatomic) IBOutlet UILabel *NameL;
  14. @property (weak, nonatomic) IBOutlet UIView *BlueView;
  15. @property (weak, nonatomic) IBOutlet UIImageView *IconView;
  16. @property (weak, nonatomic) IBOutlet UILabel *titleL;
  17. @property (weak, nonatomic) IBOutlet UILabel *userCountL;
  18. @property (weak, nonatomic) IBOutlet UILabel *TopicCountL;
  19. @property (weak, nonatomic) IBOutlet UILabel *subTitleL;
  20. @property (weak, nonatomic) IBOutlet UIButton *JoinBtn;
  21. + (CGFloat)configCell0Height;
  22. + (CGFloat)configCell1Height;
  23. + (GroupSquareCell *)configCell0:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath;
  24. + (GroupSquareCell *)configCell1:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath;
  25. - (void)setLeftDataModel:(GroupSquareModel *)model;
  26. - (void)setRightDataSubModel:(GroupSquareSubModel *)model;
  27. - (void)setRightDataSubModel:(GroupSquareSubModel *)model withSearchText:(NSString *)text;
  28. @end
  29. NS_ASSUME_NONNULL_END