TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Concurrent Downloads using NSOperationQueues

17 点作者 filipmares将近 14 年前

3 条评论

shawnwall将近 14 年前
Nice tutorial summarizing this useful action. The ASIHTTPRequest lib is also good to note here as the ASINetworkQueue NSOperationQueue subclass allows for tracking progress of the entire queue in addition to a few other useful delegate methods<p><a href="http://allseeing-i.com/ASIHTTPRequest/How-to-use#about_ASINetworkQueues" rel="nofollow">http://allseeing-i.com/ASIHTTPRequest/How-to-use#about_ASINe...</a>
getsat将近 14 年前
Here's an example of the kind of speedup you can see from proper usage of NSOperationQueues: <a href="http://tech.gilt.com/post/3187131303/tips-for-optimizing-iphone-ipad-applications" rel="nofollow">http://tech.gilt.com/post/3187131303/tips-for-optimizing-iph...</a><p>Pretty impressive to see them running side by side.
eridius将近 14 年前
This page doesn't mention it, but it's interesting to note that the NSOperation subclass used here actually does all of its work on the main thread.