摘要: 1.首先将自定义对象进行保存写入本地文件 NSData *data = [NSKeyedArchiver archivedDataWithRootObject:self.obj]; [data writeToFile:@"Path" atomically:YES]; 2.在接口中实现协议<NSCod 阅读全文