摘要:
#import @interface AppDelegate : UIResponder /** * 源代码的链接地址 * 链接: http://pan.baidu.com/s/1pKTxfyb 密码: eqa3 * */ @property (strong, nonatomic) UIWindow *window; @end #import "AppDelegate... 阅读全文
随笔分类 - 数据储存
iOS 归档
2016-02-29 09:55 by 甘雨路, 207 阅读, 收藏,
摘要:
#import <UIKit/UIKit.h> @interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end #import "App 阅读全文
iOS NSUserDefaults的基本使用
2016-02-21 21:25 by 甘雨路, 229 阅读, 收藏,
摘要:
/** * NSUserDefaults可以进行轻量级的数据存储 * NSUserDefaults支持的数据类型: NSString, NSNumber, NSDate, NSArray, * NSDictionary */ //初始化NSUserDefaults NSUserDefaults *d 阅读全文
iOS SQLite 增删改查的封装(关系型)
2015-11-09 20:16 by 甘雨路, 265 阅读, 收藏,
摘要:
在工程里导入libsqlite3.tbd库(Xcode 7) #import <UIKit/UIKit.h> @interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWi 阅读全文
iOS SQLite增删改查(简单应用)
2015-11-09 11:05 by 甘雨路, 240 阅读, 收藏,
摘要:
// 注意: 在工程里导入libsqlite3.tbd库(Xcode7,如果Xcode7以下的版本则导入libsqlite3.dylib). #import <UIKit/UIKit.h> @interface AppDelegate : UIResponder <UIApplicationDele 阅读全文
CoreData的增删改查
2015-08-03 10:50 by 甘雨路, 329 阅读, 收藏,
摘要:
首先使用CoreData创建Demo,勾上CoreData选项 然后创建Entity对象,点击Add Entity(+)按钮 生成Entity对象 重命名双击Entity选项,然后输入Person 设置Person属性,点击Attributes选项中的+号,实现添加属性,并给属性命名,且添加属性相关 阅读全文
浙公网安备 33010602011771号