摘要: ---恢复内容开始--- 直接上代码 一,异步函数往并发队列中添加任务 dispatch_queue_t queue = dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0); dispatch_async(queue, ^{ N 阅读全文
posted @ 2016-02-16 17:33 small-elephant_A-Do 阅读(144) 评论(0) 推荐(0) 编辑
摘要: 一,创建线程 主线程 NSThread *current = [NSThread currentThread]; 或 NSThread *main = [NSThread mainThread]; 子线程(三种方法) NSThread *thread= [[NSThread alloc]initWi 阅读全文
posted @ 2016-02-16 17:03 small-elephant_A-Do 阅读(122) 评论(0) 推荐(0) 编辑
摘要: ---恢复内容开始--- UIApplication有一个十分强大的openUrl方法 -(BOOL)openUrl:(NSURL *)url; openURL:方法的部分功能有 打电话 UIApplication *app = [UIApplicationsharedApplication]; [ 阅读全文
posted @ 2016-02-16 16:45 small-elephant_A-Do 阅读(127) 评论(0) 推荐(0) 编辑
摘要: 今天上午 完成了一个微博cell界面,写了三遍,也算是烂熟于心了。下面简单介绍一下 微博的cell,主要运用的iOS知识点有 1,tableview 的数据源 和代理实现方法 2,tableviewcell 的实现 3,tableviewcellview 的运用 建立一个UItableviewcel 阅读全文
posted @ 2016-02-16 12:38 small-elephant_A-Do 阅读(158) 评论(0) 推荐(0) 编辑
摘要: ios学习笔记 阅读全文
posted @ 2016-02-16 00:03 small-elephant_A-Do 阅读(174) 评论(0) 推荐(0) 编辑