NYQRCodeVCManager.m 627 B

123456789101112131415161718192021222324252627282930313233
  1. //
  2. // NYQRCodeVCManager.m
  3. // jiaPei
  4. //
  5. // Created by Ning.ge on 2025/2/21.
  6. // Copyright © 2025 JCZ. All rights reserved.
  7. //
  8. #import "NYQRCodeVCManager.h"
  9. #import "RQQRCodeViewController.h"
  10. @interface NYQRCodeVCManager ()
  11. @end
  12. @implementation NYQRCodeVCManager
  13. + (instancetype)sharedInstance {
  14. static NYQRCodeVCManager *instance;
  15. static dispatch_once_t onceToken;
  16. dispatch_once(&onceToken, ^{
  17. instance = [[NYQRCodeVCManager alloc] init];
  18. });
  19. return instance;
  20. }
  21. - (RQQRCodeViewController *)vc{
  22. if(!_vc){
  23. _vc = [[RQQRCodeViewController alloc] init];
  24. }
  25. return _vc;
  26. }
  27. @end