RQExerciseQuestionItemViewModel.h 796 B

12345678910111213141516171819202122232425
  1. //
  2. // RQExerciseQuestionItemViewModel.h
  3. // JSJP
  4. //
  5. // Created by 张嵘 on 2021/8/16.
  6. //
  7. #import "RQCommonItemViewModel.h"
  8. NS_ASSUME_NONNULL_BEGIN
  9. @interface RQExerciseQuestionItemViewModel : RQCommonItemViewModel
  10. @property (nonatomic, readonly, strong) RQExerciseModel *exerciseModel;
  11. @property (nonatomic, readonly, strong) NSString *typeString;
  12. @property (nonatomic, readonly, strong) NSMutableAttributedString *qusetionString;
  13. @property (nonatomic, readonly, assign) CGFloat labelHeight;
  14. @property (nonatomic, readonly, assign) CGFloat imageHeight;
  15. @property (nonatomic, readonly, strong) NSString *imageString;
  16. @property (nonatomic, readonly, strong) NSString *videoString;
  17. // init
  18. - (instancetype)initWithRQExerciseModel:(RQExerciseModel *)exerciseModel;
  19. @end
  20. NS_ASSUME_NONNULL_END