摘要:
1) 每一个线程都有一个RunLoop2)主线程的RunLoop会由系统帮我们启动.UIScrollView的滚动和下载同时进行,如果滚动,下载会暂停.演示:1. 协议2. 实例化scrollView,上面放4个View(不同色)3. downloadQQ1) url2) urlRequest3) ... 阅读全文
posted @ 2015-04-23 10:33
toxicanty
阅读(163)
评论(0)
推荐(0)
摘要:
如果不加同步锁,代码如下:#import"ViewController.h"@interfaceViewController(){NSInteger_money;}@end@implementationViewController- (void)viewDidLoad { [superviewDid... 阅读全文
posted @ 2015-04-23 00:49
toxicanty
阅读(216)
评论(0)
推荐(0)

浙公网安备 33010602011771号