码迷,mamicode.com
首页 > 其他好文 > 详细

Object archiving

时间:2017-06-19 15:52:39      阅读:115      评论:0      收藏:0      [点我收藏+]

标签:mod   store   developer   cat   eve   ons   cocoa   model   related   

https://developer.apple.com/library/content/documentation/General/Conceptual/DevPedia-CocoaCore/Archiving.html#//apple_ref/doc/uid/TP40008195-CH1-SW1

Object archiving

Archiving is the process of converting a group of related objects to a form that can be stored or transferred between applications. The end result of archiving—an archive—is a stream of bytes that records the identity of objects, their encapsulated values, and their relationships with other objects. Unarchiving, the reverse process, takes an archive and reconstitutes an identical network of objects. 

The main value of archiving is that it provides a generic way to make objects persistent. Instead of writing object data out in a special file format, applications frequently store their model objects in archives that they can write out as files. An application can also transfer a network of objects—commonly known as an object graph—to another application using archiving. Applications often do this for pasteboard operations such as copy and paste. 

技术分享

Object archiving

标签:mod   store   developer   cat   eve   ons   cocoa   model   related   

原文地址:http://www.cnblogs.com/feng9exe/p/7048925.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!