RQChooseExLibViewModel.m 854 B

123456789101112131415161718192021222324252627282930313233343536
  1. //
  2. // RQChooseExLibViewModel.m
  3. // jiaPei
  4. //
  5. // Created by 张嵘 on 2022/4/21.
  6. // Copyright © 2022 JCZ. All rights reserved.
  7. //
  8. #import "RQChooseExLibViewModel.h"
  9. @interface RQChooseExLibViewModel ()
  10. @property (nonatomic, readwrite, assign) BOOL isFirstLoad;
  11. @end
  12. @implementation RQChooseExLibViewModel
  13. #pragma mark - Public Method
  14. - (instancetype)initWithServices:(id<RQViewModelServices>)services params:(NSDictionary *)params {
  15. if (self = [super initWithServices:services params:params]) {
  16. self.isFirstLoad = RQObjectIsNil(params[RQViewCommonValueKey])? NO : [params[RQViewCommonValueKey] boolValue];
  17. }
  18. return self;
  19. }
  20. - (void)initialize {
  21. [super initialize];
  22. self.title = @"选择题库";
  23. ///配置数据
  24. [self rq_configureData];
  25. }
  26. #pragma mark - PrivateMethod
  27. - (void)rq_configureData {
  28. }
  29. @end