归档文件存储demo

时间:2016-09-15 08:28:05
【文件属性】:
文件名称:归档文件存储demo
文件大小:65KB
文件格式:ZIP
更新时间:2016-09-15 08:28:05
NSCoding 归档 序列化 反序列化 我们都知道NSArry中如果存放的是普通的字符串类型,是很容易存入到plist文件中,也很容易从文件中读取出来,那如果NSArray中存放的是自定义的Person对象呢?该如何存入文件中去呢? 参考博客:http://blog.csdn.net/dingxiaowei2013/article/details/10339647
【文件预览】:
test
----.DS_Store(6KB)
----test.xcodeproj()
--------project.xcworkspace()
--------xcuserdata()
--------project.pbxproj(13KB)
----test()
--------en.lproj()
--------main.m(340B)
--------DXWViewController.m(2KB)
--------test-Prefix.pch(311B)
--------DXWViewController.h(321B)
--------DXWAppDelegate.h(374B)
--------Default-568h@2x.png(18KB)
--------Default.png(6KB)
--------Default@2x.png(16KB)
--------test-Info.plist(1KB)
--------DXWAppDelegate.m(2KB)
----.git()
--------info()
--------index(1KB)
--------objects()
--------HEAD(23B)
--------config(138B)
--------refs()
--------branches()
--------hooks()
--------description(73B)
----Person.m(990B)
----Person.h(324B)

网友评论

  • 我觉得不错,对我有帮助。
  • 好!对我挺有帮助