06 2016 档案

Grand Central Dispatch 基础教程:Part 2/2
摘要:原文 Grand Central Dispatch Tutorial for Swift: Part 2/2 原文作者:Bjrn Olav Ruud 译者:Ethan Joe 欢迎来到Grand Central Dispatch系列教程的第二部分! 在教程的第一部分,你学到了一些关于并发,线程及GC 阅读全文

posted @ 2016-06-22 16:26 iosblog's 阅读(185) 评论(0) 推荐(0)

Grand Central Dispatch 基础教程:Part 1/2
摘要:原文 Grand Central Dispatch Tutorail for Swift: Part 1/2 原文作者:Bjrn Olav Ruud 译者:Ethan Joe 尽管Grand Central Dispatch(以下简称为GCD)已推出一段时间了,但并不是所有人都明白其原理;当然这是可 阅读全文

posted @ 2016-06-22 16:24 iosblog's 阅读(217) 评论(0) 推荐(0)

IOS 等待条件满足再向下执行但不主卡线程NSRunLoop
摘要:当我们需要等一个异步的结果才能向下执行代码,写回调又很麻烦,功能相对简单的时候,就可以插入以下红色部分的代码。 - (IBAction)start:(id)sender{pageStillLoading = YES;[NSThread detachNewThreadSelector:@selecto 阅读全文

posted @ 2016-06-07 15:50 iosblog's 阅读(2420) 评论(0) 推荐(0)

导航