上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 27 下一页
摘要: 一、autolayout 自动布局:1、 设置所有视图框架的三种方法,可以通过代码创建也可以storyboard设置 = 规则 (1 蓝线+约束:(位置) 使用蓝线,根据蓝线拖动控件,只是告诉Xcode我要这样设置,但是还需要Xcode为我们执行相应的规则和约束 Reset to Sugested ... 阅读全文
posted @ 2015-05-03 11:03 daomul 阅读(834) 评论(0) 推荐(0) 编辑
摘要: 一、多线程1、主队列:处理多点触控和所有UI操作(不能阻塞、主要同步更新UI)dispatch_queue_t mainQueue = dispatchg_get_main_queue(); //获得主线程Dispatch_async(queue ,^{ }); ... 阅读全文
posted @ 2015-05-03 11:03 daomul 阅读(517) 评论(0) 推荐(0) 编辑
摘要: 一、tableView1、datasource数据源(1 构造每一个tableVIewCell的方法:cellForRowAtIndexPath,这里的 dequeueReusableCellWithIdentifier会根据识别ID去取storyBoard中的cell,同时这也是利用取缓存中的c... 阅读全文
posted @ 2015-05-03 11:03 daomul 阅读(615) 评论(0) 推荐(0) 编辑
摘要: iPad开发(Universal Applications)一、iPad1、判断是否在iPad上 BOOL iPad = ([[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPad);二、UISplitView... 阅读全文
posted @ 2015-05-03 11:03 daomul 阅读(1024) 评论(0) 推荐(0) 编辑
摘要: 一 、NSManagedObjectContext1、我们要想操作Core Data,首先需要一个NSManagedObjectContext2、那我们如何获得Context呢:创建一个UIManagedDocument二、UIManagedDocument1、UIManagedDocument是一... 阅读全文
posted @ 2015-05-03 11:03 daomul 阅读(685) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 27 下一页