Ray's playground

 

Archiving(Chapter 18 of Programming in Objective-C 2.0)

  To archive objects other than those listed, you must tell the system how to archive, or encode, your objects, and also how to unarchive, or decode, them.This is done by adding encodeWithCoder: and initWithCoder: methods to your class definitions, according to the <NSCoding> protocol.

posted on 2010-10-25 17:58  Ray Z  阅读(235)  评论(0编辑  收藏  举报

导航