极致框架是什么
//TODO: Archive and save models save to a file
NSData *data = [NSKeyedArchiver archivedDataWithRootObject:mArray requiringSecureCoding:YES error:&error];
//TODO: Read and unarchive models just from a file
NSData *data = [NSData dataWithContentsOfFile:filePath options:NSDataReadingMappedIfSafe error:&error];
网友评论