|
|
@ -357,7 +357,7 @@ |
|
|
|
NSMutableData *data = [NSMutableData data]; |
|
|
|
NSMutableData *data = [NSMutableData data]; |
|
|
|
NSKeyedArchiver *archiver = [[NSKeyedArchiver alloc] initForWritingWithMutableData:data]; |
|
|
|
NSKeyedArchiver *archiver = [[NSKeyedArchiver alloc] initForWritingWithMutableData:data]; |
|
|
|
[archiver setRequiresSecureCoding:YES]; |
|
|
|
[archiver setRequiresSecureCoding:YES]; |
|
|
|
[archiver encodeObject:obj forKey:key]; |
|
|
|
[archiver encodeObject:original forKey:key]; |
|
|
|
[archiver finishEncoding]; |
|
|
|
[archiver finishEncoding]; |
|
|
|
|
|
|
|
|
|
|
|
NSKeyedUnarchiver *unarchiver = [[NSKeyedUnarchiver alloc] initForReadingWithData:data]; |
|
|
|
NSKeyedUnarchiver *unarchiver = [[NSKeyedUnarchiver alloc] initForReadingWithData:data]; |
|
|
|