HomeTeacherCell.h 913 B

12345678910111213141516171819202122232425262728
  1. //
  2. // HomeTeacherCell.h
  3. // smartRhino
  4. //
  5. // Created by niuzhen on 2020/6/10.
  6. // Copyright © 2020 tederen. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import "HomeSubItemModel.h"
  10. NS_ASSUME_NONNULL_BEGIN
  11. @interface HomeTeacherCell : UITableViewCell
  12. @property (weak, nonatomic) IBOutlet UIButton *collectBtn;
  13. @property (weak, nonatomic) IBOutlet UIImageView *imagV;
  14. @property (weak, nonatomic) IBOutlet UILabel *nameL;
  15. @property (weak, nonatomic) IBOutlet UILabel *subTitleL;
  16. @property (weak, nonatomic) IBOutlet UILabel *countl;
  17. @property (weak, nonatomic) IBOutlet UIView *lineV;
  18. @property (copy, nonatomic) void(^ClickCollectBlock)(NSInteger Id);
  19. + (HomeTeacherCell *)configCell:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath;
  20. - (void)setDataWithModel:(HomeSubItemModel *)model;
  21. - (void)setDataWithModel:(HomeSubItemModel *)model searchText:(NSString *)text;
  22. @end
  23. NS_ASSUME_NONNULL_END