BGBaseViewModel.m 490 B

12345678910111213141516171819202122232425262728293031
  1. //
  2. // BGBaseViewModel.m
  3. // BuguLive
  4. //
  5. // Created by xfg on 2017/5/3.
  6. // Copyright © 2017年 xfg. All rights reserved.
  7. //
  8. #import "BGBaseViewModel.h"
  9. @implementation BGBaseViewModel
  10. - (NetHttpsManager *)httpsManager
  11. {
  12. if (!_httpsManager)
  13. {
  14. _httpsManager = [NetHttpsManager manager];
  15. }
  16. return _httpsManager;
  17. }
  18. - (GlobalVariables *)BuguLive
  19. {
  20. if (!_BuguLive)
  21. {
  22. _BuguLive = [GlobalVariables sharedInstance];
  23. }
  24. return _BuguLive;
  25. }
  26. @end