Loading ios/VideoCaching/RCTVideoCache.m +2 −4 Changes for ios/VideoCaching/RCTVideoCache.m: 2 added lines, 4 removed lines. Original line number Diff line number Diff line Loading @@ -7,8 +7,7 @@ @synthesize cacheIdentifier; @synthesize temporaryCachePath; + (RCTVideoCache *) sharedInstance { + (RCTVideoCache *)sharedInstance { static RCTVideoCache *sharedInstance = nil; static dispatch_once_t onceToken; dispatch_once(&onceToken, ^{ Loading Loading @@ -41,8 +40,7 @@ return self; } - (void) createTemporaryPath { - (void) createTemporaryPath { NSError *error = nil; BOOL success = [[NSFileManager defaultManager] createDirectoryAtPath:self.temporaryCachePath withIntermediateDirectories:YES Loading Loading
ios/VideoCaching/RCTVideoCache.m +2 −4 Changes for ios/VideoCaching/RCTVideoCache.m: 2 added lines, 4 removed lines. Original line number Diff line number Diff line Loading @@ -7,8 +7,7 @@ @synthesize cacheIdentifier; @synthesize temporaryCachePath; + (RCTVideoCache *) sharedInstance { + (RCTVideoCache *)sharedInstance { static RCTVideoCache *sharedInstance = nil; static dispatch_once_t onceToken; dispatch_once(&onceToken, ^{ Loading Loading @@ -41,8 +40,7 @@ return self; } - (void) createTemporaryPath { - (void) createTemporaryPath { NSError *error = nil; BOOL success = [[NSFileManager defaultManager] createDirectoryAtPath:self.temporaryCachePath withIntermediateDirectories:YES Loading