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