
数据本地存储
文章平均质量分 77
安哥iOS
这个作者很懒,什么都没留下…
展开
-
iOS数据本地存储方式
1. Fondation 框架下普通对象的存储 2. 偏好设置存储 3. 归档和取档 4. SQLite 5 苹果自带CoreData原创 2014-12-20 09:48:42 · 124 阅读 · 0 评论 -
归档和取档 (NSKeyedArchiver and NSKeyedUnarchiver)
iOS 归档和取档 (NSKeyedArchiver and NSKeyedUnarchiver) 定义Person类 ,用于存档和取档 Person类.h文件 // 归档和取档必须遵循NSCoding协议 @interface Person : NSObject // 定义属性 @property (nonatomic, strong)NSString *name; @prop原创 2014-12-20 10:05:58 · 136 阅读 · 0 评论 -
SQLite 语句基础
SQLite 语句基础 1. 数据定义语句(DDL:Data Definition Language) /*! 包括create和drop等操作 在数据库中创建新表或删除表(create table或 drop table) SQLite将数据划分为以下几种存储类型: integer : 整型值 real : 浮点值 text : 文本字符串 blob : 二进制数据(比原创 2015-01-24 16:52:48 · 281 阅读 · 0 评论