标签:
//将NSArray转化为NSData类型 NSData *data = [NSKeyedArchiver archivedDataWithRootObject:Array]; NSLog(@"data = %@",data); //将NSData转化为NSArray类型 NSArray *array = [NSKeyedUnarchiver unarchiveObjectWithData:data]; NSLog(@"array = %@",array);
标签:
原文地址:http://www.cnblogs.com/overcode/p/4420818.html