123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- //
- // RQPlaceDetailNoteIntroduceCell.m
- // JiaPei
- //
- // Created by 张嵘 on 2023/4/20.
- //
- #import "RQPlaceDetailNoteIntroduceCell.h"
- @interface RQPlaceDetailNoteIntroduceCell ()
- @property (nonatomic, readwrite, strong) RQPlaceDetailNoteIntroduceItemViewModel *viewModel;
- @end
- @implementation RQPlaceDetailNoteIntroduceCell
- #pragma mark - PublicMethods
- + (instancetype)cellWithTableView:(UITableView *)tableView {
- static NSString *ID = @"RQPlaceDetailNoteIntroduceCell";
- RQPlaceDetailNoteIntroduceCell *cell = [tableView dequeueReusableCellWithIdentifier:ID];
- if (!cell) {
- cell = [self rq_viewFromXib];
- cell.selectionStyle = UITableViewCellSelectionStyleNone;
- }
- return cell;
- }
- - (void)bindViewModel:(RQPlaceDetailNoteIntroduceItemViewModel *)viewModel {
- _viewModel = viewModel;
- }
- #pragma mark - SystemMethods
- - (void)awakeFromNib {
- [super awakeFromNib];
- }
- - (void)setSelected:(BOOL)selected animated:(BOOL)animated {
- [super setSelected:selected animated:animated];
- // Configure the view for the selected state
- }
- @end
|