views:

742

answers:

5

Now that there is no NDA, what are some good suggested resources for learning about blocks under Snow Leopard?

+2  A: 

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

Felixyz
...and to that we should add Plausible Blocks as a way to get experimenting with blocks even on Leopard: http://code.google.com/p/plblocks/
Felixyz
+3  A: 

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

Georg
+9  A: 

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):

Martin Gordon
+4  A: 

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

weichsel
+1  A: 

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.

Brad Larson
I've been umming and ahhing over these. I suppose I should just bite the bullet.
Abizern
If you're at all serious about developing for the iPhone or Mac, each of the tracks are well worth the money. They're full of practical information, and the demos really show off the new technologies.
Brad Larson