Code style cleanups
This commit is contained in:
parent
9d22835343
commit
8084b160d5
@ -7,8 +7,7 @@
|
||||
@synthesize cacheIdentifier;
|
||||
@synthesize temporaryCachePath;
|
||||
|
||||
+ (RCTVideoCache *) sharedInstance
|
||||
{
|
||||
+ (RCTVideoCache *)sharedInstance {
|
||||
static RCTVideoCache *sharedInstance = nil;
|
||||
static dispatch_once_t onceToken;
|
||||
dispatch_once(&onceToken, ^{
|
||||
@ -41,8 +40,7 @@
|
||||
return self;
|
||||
}
|
||||
|
||||
- (void) createTemporaryPath
|
||||
{
|
||||
- (void) createTemporaryPath {
|
||||
NSError *error = nil;
|
||||
BOOL success = [[NSFileManager defaultManager] createDirectoryAtPath:self.temporaryCachePath
|
||||
withIntermediateDirectories:YES
|
||||
|
Loading…
x
Reference in New Issue
Block a user