// // NYExerciseTestingCentreViewModel.m // jiaPei // // Created by Ning.ge on 2023/8/22. // Copyright © 2023 JCZ. All rights reserved. // #import "NYExerciseTestingCentreViewModel.h" @implementation NYExerciseTestingCentreGroupViewModel /// init - (instancetype)init { if (self = [super init]) { self.headerHeight = RQ_FIT_HORIZONTAL(50.f); } return self; } @end @interface NYExerciseTestingCentreItemViewModel () @property (nonatomic, readwrite, strong) RQYDTJSModel *ydtJSModel; @end @implementation NYExerciseTestingCentreItemViewModel - (instancetype)initWithRQYDTJSModel:(RQYDTJSModel *)ydtJSModel { if (self = [super init]) { @weakify(self) dispatch_async(dispatch_get_main_queue(), ^{ @strongify(self) self.ydtJSModel = ydtJSModel; self.rowHeight = RQ_FIT_HORIZONTAL(173.f) + 16.f; }); } return self; } - (NSString *)itemClassName { return @"NYTestingCentreCell"; } @end