CommonListCell.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. //
  2. // CommonListCell.h
  3. // smartRhino
  4. //
  5. // Created by niuzhen on 2020/4/28.
  6. // Copyright © 2020 tederen. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import "MyFavoriteSubModel.h"
  10. NS_ASSUME_NONNULL_BEGIN
  11. @interface CommonListCell : UITableViewCell
  12. @property (weak, nonatomic) IBOutlet UILabel *titleL;
  13. @property (weak, nonatomic) IBOutlet UIImageView *iconV;
  14. @property (weak, nonatomic) IBOutlet UILabel *nameL;
  15. @property (weak, nonatomic) IBOutlet UIButton *desBtn;
  16. @property (weak, nonatomic) IBOutlet UIImageView *isTopV;
  17. @property (weak, nonatomic) IBOutlet UILabel *iconShowL;
  18. @property (weak, nonatomic) IBOutlet UIButton *comeBtn;
  19. @property (weak, nonatomic) IBOutlet NSLayoutConstraint *comeLeft;
  20. + (CGFloat)configCell0Height;
  21. + (CommonListCell *)configCell0:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath;
  22. + (CommonListCell *)configCell1:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath;
  23. + (CommonListCell *)configCell2:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath;
  24. - (void)setCell1Data:(MyFavoriteSubModel *)model;
  25. - (void)setCellNoAuthorData:(MyFavoriteSubModel *)model;
  26. - (void)setCellTopicBookData:(MyFavoriteSubModel *)model;
  27. - (void)setCellData:(MyFavoriteSubModel *)model withText:(NSString *)text;
  28. - (void)setCellNoAuthorData:(MyFavoriteSubModel *)model withText:(NSString *)text;
  29. @end
  30. NS_ASSUME_NONNULL_END