2014 snapchat source code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
483 B

  1. //
  2. // SCManagedCapturer.m
  3. // Snapchat
  4. //
  5. // Created by Lin Jia on 9/28/17.
  6. //
  7. #import "SCManagedCapturer.h"
  8. #import "SCCameraTweaks.h"
  9. #import "SCCaptureCore.h"
  10. #import "SCManagedCapturerV1.h"
  11. @implementation SCManagedCapturer
  12. + (id<SCCapturer>)sharedInstance
  13. {
  14. static dispatch_once_t onceToken;
  15. static id<SCCapturer> managedCapturer;
  16. dispatch_once(&onceToken, ^{
  17. managedCapturer = [[SCCaptureCore alloc] init];
  18. });
  19. return managedCapturer;
  20. }
  21. @end