IOS开发之多线程GCD和NSOperationQueue,NSOpration
2013-08-07 14:37
459 查看
转载地址:http://mobile.51cto.com/iphone-403490.htm
在iOS的世界里有两种实现多线程的方式:
第一种:GCD
官网链接
http://developer.apple.com/library/ios/#documentation/Performance/Reference/GCD_libdispatch_Ref/Reference/reference.html#//apple_ref/doc/uid/TP40008079
一个教程
http://www.dreamingwish.com/dream-category/toturial/gcd-guide
一篇博客
http://blog.devtang.com/blog/2012/02/22/use-gcd/
第二种:NSOperationQueue和NSOperation
博客
http://daimajishu.iteye.com/blog/1085725
关于这两者的比较,支持者们意见不统一太统一。这个还是建议初学者都用用,然后自己权衡。适时选择合适的。这里也附上stackoverflow上的讨论情况。
http://stackoverflow.com/questions/10373331/nsoperation-vs-grand-central-dispatch
在iOS的世界里有两种实现多线程的方式:
第一种:GCD
官网链接
http://developer.apple.com/library/ios/#documentation/Performance/Reference/GCD_libdispatch_Ref/Reference/reference.html#//apple_ref/doc/uid/TP40008079
一个教程
http://www.dreamingwish.com/dream-category/toturial/gcd-guide
一篇博客
http://blog.devtang.com/blog/2012/02/22/use-gcd/
第二种:NSOperationQueue和NSOperation
博客
http://daimajishu.iteye.com/blog/1085725
关于这两者的比较,支持者们意见不统一太统一。这个还是建议初学者都用用,然后自己权衡。适时选择合适的。这里也附上stackoverflow上的讨论情况。
http://stackoverflow.com/questions/10373331/nsoperation-vs-grand-central-dispatch
相关文章推荐
- iOS 多线程开发之OperationQueue(二)NSOperation VS GCD
- iOS 多线程开发之OperationQueue(二)NSOperation VS GCD
- iOS多线程开发--NSThread NSOperation GCD
- iOS多线程,NSThread ,NSOperationQueue ,GCD
- iOS多线程三种方式:NSThread,NSOperationQueue,GCD
- iOS并行程序开发- GCD & NSOperationQueue(1)
- 关于iOS多线程Pthreads, NSThread, GCD, NSOperation & NSOperationQueue
- 【iOS开发-91】GCD的同步异步串行并行、NSOperation和NSOperationQueue一级用dispatch_once实现单例
- 浅析iOS开发中的多线程技术:NSThread,NSOperation/NSOperationQueue&GCD
- iOS 多线程详解 NSThread, NSOperationQueue(NSInvocationOperation, NSBlockOperation), GCD
- iOS多线程之NSThread、NSOperationQueue、NSObject和GCD的区别
- 【iOS开发-91】GCD的同步异步串行并行、NSOperation和NSOperationQueue一级用dispatch_once实现单例(转载)
- ios之多线程-NSThead、GCD、NSOperationQueue
- IOS开发 多线程编程 - NSOperationQueue
- 【iOS开发-91】GCD的同步异步串行并行、NSOperation和NSOperationQueue一级用dispatch_once实现单例
- iOS多线程开发(六)---NSOperation/NSOperationQueue
- iOS多线程 NSThread/GCD/NSOperationQueue
- IOS开发之多线程——NSInvocationOperation
- 多线程开发之NSOperation&NSOperationQueue——异步下载图片
- iOS之多线程开发(NSThread,NSOperation,GCD)