marinofaggiana 4 years ago
parent
commit
f90da622f5
1 changed files with 2 additions and 3 deletions
  1. 2 3
      iOSClient/AppDelegate.m

+ 2 - 3
iOSClient/AppDelegate.m

@@ -73,8 +73,8 @@
     [application setMinimumBackgroundFetchInterval:UIApplicationBackgroundFetchIntervalMinimum];
 
     // Initialization List & Array
-    self.listProgressMetadata = [[NSMutableDictionary alloc] init];
-    self.listMainVC = [[NSMutableDictionary alloc] init];
+    self.listProgressMetadata = [NSMutableDictionary new];
+    self.listMainVC = [NSMutableDictionary new];
     self.arrayDeleteMetadata = [NSMutableArray new];
     self.arrayMoveMetadata = [NSMutableArray new];
     self.arrayMoveServerUrlTo = [NSMutableArray new];
@@ -106,7 +106,6 @@
     // [[AVAudioSession sharedInstance] setActive:YES error:nil];
     [[UIApplication sharedApplication] beginReceivingRemoteControlEvents];
 
-
     // ProgressView Detail
     self.progressViewDetail = [[UIProgressView alloc] initWithProgressViewStyle: UIProgressViewStyleBar];