12345678910111213141516171819202122232425262728293031323334353637 |
- //
- // CommonListCell.h
- // smartRhino
- //
- // Created by niuzhen on 2020/4/28.
- // Copyright © 2020 tederen. All rights reserved.
- //
- #import <UIKit/UIKit.h>
- #import "MyFavoriteSubModel.h"
- NS_ASSUME_NONNULL_BEGIN
- @interface CommonListCell : UITableViewCell
- @property (weak, nonatomic) IBOutlet UILabel *titleL;
- @property (weak, nonatomic) IBOutlet UIImageView *iconV;
- @property (weak, nonatomic) IBOutlet UILabel *nameL;
- @property (weak, nonatomic) IBOutlet UIButton *desBtn;
- @property (weak, nonatomic) IBOutlet UIImageView *isTopV;
- @property (weak, nonatomic) IBOutlet UILabel *iconShowL;
- @property (weak, nonatomic) IBOutlet UIButton *comeBtn;
- @property (weak, nonatomic) IBOutlet NSLayoutConstraint *comeLeft;
- + (CGFloat)configCell0Height;
- + (CommonListCell *)configCell0:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath;
- + (CommonListCell *)configCell1:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath;
- + (CommonListCell *)configCell2:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath;
- - (void)setCell1Data:(MyFavoriteSubModel *)model;
- - (void)setCellNoAuthorData:(MyFavoriteSubModel *)model;
- - (void)setCellTopicBookData:(MyFavoriteSubModel *)model;
- - (void)setCellData:(MyFavoriteSubModel *)model withText:(NSString *)text;
- - (void)setCellNoAuthorData:(MyFavoriteSubModel *)model withText:(NSString *)text;
- @end
- NS_ASSUME_NONNULL_END
|