摘要:
抽屉效果,页面灵活漂亮并且节省空间。在根视图的h文件: 1 #import 2 //实现抽屉效果 3 //由于手机屏幕较小,内容较多,有效利用空间 。 4 @interface RootViewController : UIViewController 5 { 6 UITableView ... 阅读全文
posted @ 2015-09-18 20:58
crushing
阅读(177)
评论(0)
推荐(0)
摘要:
分割器目前只支持iPhone6 plus、pad和刚发布的iPhone6s plus。建立左右两个view。在根视图中: 1 #import "AppDelegate.h" 2 #import "LeftViewController.h" 3 #import "RightViewController... 阅读全文
posted @ 2015-09-18 20:54
crushing
阅读(178)
评论(0)
推荐(0)
摘要:
1 #import "RootViewController.h" 2 #import 3 #import //存放了系统调用的常量 4 @interface RootViewController () 5 6 @end 7 8 @implementation RootViewControl... 阅读全文
posted @ 2015-09-18 20:39
crushing
阅读(220)
评论(0)
推荐(0)
摘要:
离线缓存在项目开发中,通常都需要对数据进行离线缓存的处理,如新闻数据的离线缓存等。说明:离线缓存一般都是把数据保存到项目的沙盒中。有以下几种方式(1)归档:NSCodeing、NSKeyedArchiver(2)偏好设置:NSUserDefaults(3)Plist存储:writeToFile提示:... 阅读全文
posted @ 2015-09-18 20:21
crushing
阅读(148)
评论(0)
推荐(0)
摘要:
了解CoreDataCoreData是一个数据库,是对SQLite的封装。Xcode内部集成,coredata是orm。ORM(Object Relational Mapping)对象关系映射,orm操作数据库的原理:自己不写SQL语句通过APP里的对象和数据库的表映射。 Core Data是iOS... 阅读全文
posted @ 2015-09-18 19:48
crushing
阅读(343)
评论(0)
推荐(0)

浙公网安备 33010602011771号