Introduction 介绍

注意: 本文档翻译于2018年01月24日。如果Apple在这之后更新了文档,可能出现翻译跟官方原文不匹配的情况。原文

Archives and serializations are two ways in which you can create architecture-independent byte streams of hierarchical data. Byte streams can then be written to a file or transmitted to another process, perhaps over a network. When the byte stream is decoded, the hierarchy is regenerated. Archives provide a detailed record of a collection of interrelated objects and values. Serializations record only the simple hierarchy of property-list values.

归档和序列化是您创建体系结构独立的分层数据字节流的两种方式。字节流之后可以写入文件或者传输到另一个进程,或许通过网络。当字节流被解码时,这个层次被重新生成。归档提供了一系列相关对象和值的详细记录。序列化仅记录属性列表值的简单层次。

You should read this document to learn how to create and extract archived representations of object graphs.

你应该阅读本文档以了解如何创建和提取对象图的归档表示。

Organization of This Document 本文档的组织

This programming topic contains the following articles:

本编程主题包含以下文章: