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.

30 lines
546 B

  1. //
  2. // SCCapturerToken.m
  3. // Snapchat
  4. //
  5. // Created by Xishuo Liu on 3/24/17.
  6. // Copyright © 2017 Snapchat, Inc. All rights reserved.
  7. //
  8. #import "SCCapturerToken.h"
  9. #import <SCFoundation/NSString+SCFormat.h>
  10. @implementation SCCapturerToken {
  11. NSString *_identifier;
  12. }
  13. - (instancetype)initWithIdentifier:(NSString *)identifier
  14. {
  15. if (self = [super init]) {
  16. _identifier = identifier.copy;
  17. }
  18. return self;
  19. }
  20. - (NSString *)debugDescription
  21. {
  22. return [NSString sc_stringWithFormat:@"%@_%@", _identifier, self];
  23. }
  24. @end