NYExerciseQuestionItemViewModel.h 848 B

1234567891011121314151617181920212223242526
  1. //
  2. // NYExerciseQuestionItemViewModel.h
  3. // jiaPei
  4. //
  5. // Created by Ning.ge on 2024/10/31.
  6. // Copyright © 2024 JCZ. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. NS_ASSUME_NONNULL_BEGIN
  10. @interface NYExerciseQuestionItemViewModel : RQCommonItemViewModel
  11. @property (nonatomic, readonly, strong) RQExerciseModel *exerciseModel;
  12. @property (nonatomic, readonly, strong) NSString *typeString;
  13. @property (nonatomic, readonly, strong) NSMutableAttributedString *qusetionString;
  14. @property (nonatomic, readonly, assign) CGFloat labelHeight;
  15. @property (nonatomic, readonly, assign) CGFloat imageHeight;
  16. @property (nonatomic, readonly, strong) NSString *imageString;
  17. @property (nonatomic, readonly, strong) NSString *videoString;
  18. // init
  19. - (instancetype)initWithRQExerciseModel:(RQExerciseModel *)exerciseModel;
  20. @end
  21. NS_ASSUME_NONNULL_END