NSDictionary *dic = [NSDictionary dictionaryWithObjectsAndKeys:@"zhouyong",@"Name",@"18",@"Age",@"iOS engineer",@"Job", nil];
// NSKeyedArchiver 把对象写到二进制流中去。
NSData *data = [NSKeyedArchiver archivedDataWithRootObject:dic];
[[NSUserDefaults standardUserDefaults] setObject:data forKey:@"INFORMATION"];
NSData *infoData = [[NSUserDefaults standardUserDefaults] objectForKey:@"INFORMATION"];
// NSKeyedUnarchiver 从二进制流读取对象。
NSDictionary *infoDic = [NSKeyedUnarchiver unarchiveObjectWithData:infoData];
DJLog(@"%@",infoDic);