摘要: 所谓的持久化,就是将数据保存到硬盘中,使得在应用程序或机器重启后可以继续访问之前保存的数据。在iOS开发中,有很多数据持久化的方案,接下来我将尝试着介绍一下5种方案:plist文件(属性列表)preference(偏好设置)NSKeyedArchiver(归档)SQLite 3CoreData沙盒在... 阅读全文
posted @ 2015-12-07 14:21 李小猫 阅读(106) 评论(0) 推荐(0) 编辑
摘要: 网络初级整理1、KVC & KVO1)、KVC//KVC : 键值编码 Key Value Coding- (id)initWithDictionary:(NSDictionary *)dic{ if (self = [super init]) {// self.name = dic[@... 阅读全文
posted @ 2015-12-07 10:51 李小猫 阅读(408) 评论(0) 推荐(0) 编辑