Browse Source

IOS-1673 Use the newer method

IOS-1673
Dirk Zimmermann 2 years ago
parent
commit
87bb4743bb
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      pEpObjCTests/TestUtils/PEPTestUtils.m

+ 2
- 1
pEpObjCTests/TestUtils/PEPTestUtils.m View File

@ -64,7 +64,8 @@ const NSInteger PEPTestInternalSyncTimeout = 20;
NSString *filePath = [[[NSBundle bundleForClass:[self class]]
resourcePath] stringByAppendingPathComponent:fileName];
NSMutableData *data = [NSMutableData dataWithContentsOfFile:filePath];
NSKeyedUnarchiver *unarchiver = [[NSKeyedUnarchiver alloc] initForReadingWithData:data];
NSKeyedUnarchiver *unarchiver = [[NSKeyedUnarchiver alloc] initForReadingFromData:data
error:nil];
NSDictionary *dict = [unarchiver decodeObject];
[unarchiver finishDecoding];
return dict;


Loading…
Cancel
Save