用于学习块的建议资源

发布于 2024-08-03 10:13:06 字数 46 浏览 7 评论 0原文

有哪些推荐的资源可以帮助您了解 Mac OS X 和 iOS 中的块和 GCD

What are some good suggested resources for learning about blocks and GCD in Mac OS X and iOS

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(6

硪扪都還晓 2024-08-10 10:13:06

我将从苹果的 块编程主题文档或在 Apple 设备上使用块进行编程 。正如 gs 提到的,另请查看 Mike Ash 的文章(并订阅他的 RSS 提要,因为我确信将会出现更多与块相关的帖子):

I would start with Apple's Blocks Programming Topics document or with Programming with Blocks on Apple Devices. As gs mentioned, also check out Mike Ash's articles (and also subscribe to his RSS feed, as I'm sure more blocks-related posts will come up):

瑾夏年华 2024-08-10 10:13:06

bbum 的博客上有一个很棒的介绍:
基本块

There is a great introduction at bbum's weblog:
Basic Blocks

つ低調成傷 2024-08-10 10:13:06

Mike Ash 在他的博客中写了两篇关于区块的文章:

  1. 周五问答 2008-12-26
  2. 星期五问答 2009-08-14:实用块

在第三篇文章中,他写了有关 Grand Central Dispatch 的文章,该文章也使用了块:
星期五问答 2009-08-28:Grand Central Dispatch 简介,第一部分:基础知识和调度队列

Mike Ash has written two articles about blocks in his blog:

  1. Friday Q&A 2008-12-26
  2. Friday Q&A 2009-08-14: Practical Blocks

In a third article he wrote about Grand Central Dispatch, which is also using blocks:
Friday Q&A 2009-08-28: Intro to Grand Central Dispatch, Part I: Basics and Dispatch Queues

紫南 2024-08-10 10:13:06

这是一个很好的介绍,并解释了如何使用 gcc 补丁在 Leopard 下试验块:

块示例:NSOperationQueue 和 UIActionSheet

This is a good introduction, and explains how to use a gcc patch to experiment with blocks under Leopard too:

Blocks Examples: NSOperationQueue and UIActionSheet

迷乱花海 2024-08-10 10:13:06

如果您愿意支付 300 美元,WWDC Mac 会议视频包含多个会议在街区和中央调度中心。通过使用块而实现的新 API 也分散在描述 Snow Leopard 新增功能的剩余会话中。

If you're willing to pay the $300, the WWDC Mac session videos include several sessions on blocks and Grand Central Dispatch. The new APIs made possible by using blocks are also scattered throughout the remaining sessions that describe what's new in Snow Leopard.

彩扇题诗 2024-08-10 10:13:06

对我自己的问题添加一点内容。

块和 GCD 已经存在几年了,因此在线文档已经由其他在线资源进行了补充。甚至一些 iOS 教学书籍也涵盖了该主题。

然而,Mark Dalrymple 的新书高级 Mac OS X 编程 有几个关于块和 GCD 的更深入的章节,值得关注。

Adding a bit more to my own question.

Blocks and GCD have been around for a couple of years now, so the online docs have been supplemented by other online resources. Even some of the iOS teaching books cover the subject.

However, the new book by Mark Dalrymple Advanced Mac OS X Programming has a couple of deeper chapters on Blocks and GCD that are of interest.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文