Code style cleanups

This commit is contained in:
Hampton Maxwell 2018-08-08 15:34:07 -07:00
parent 9d22835343
commit 8084b160d5

View File

@ -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