RQMainTabBarViewModel.m 788 B

1234567891011121314151617181920212223242526
  1. //
  2. // RQMainTabBarViewModel.m
  3. // RQCommon
  4. //
  5. // Created by 张嵘 on 2018/11/21.
  6. // Copyright © 2018 张嵘. All rights reserved.
  7. // 主界面的视图的视图模型
  8. #import "RQMainTabBarViewModel.h"
  9. @interface RQMainTabBarViewModel ()
  10. /// The view model of `MainFrame` interface.
  11. @property (nonatomic, strong, readwrite) RQHomePageViewModel *homePageViewModel;
  12. /// The view model of `Profile` interface.
  13. @property (nonatomic, strong, readwrite) RQProfileViewModel *profileViewModel;
  14. @end
  15. @implementation RQMainTabBarViewModel
  16. - (void)initialize {
  17. [super initialize];
  18. self.homePageViewModel = [[RQHomePageViewModel alloc] initWithServices:self.services params:nil];
  19. self.profileViewModel = [[RQProfileViewModel alloc] initWithServices:self.services params:nil];
  20. }
  21. @end