Not too long after support for blocks (or closures as they were originally named) was added into the iOS SDK I posted about a tutorial and set of examples on blocks. If you were familiar with blocks from using them in another language such as Python or Ruby then you probably understood things pretty quickly with those examples. If you are unfamiliar with blocks those examples should give you a good grasp of the basics.
I’ve found another tutorial that gives a good overview of blocks, and tips for beginners, but also gets into other topics not included in the previous tutorial such as how blocks are used in concurrency programming.
The tutorial is from Jim Dovey and can be found here:
Programming With Blocks An Overview
If you’ve been having trouble understanding blocks – and why and when to use them this tutorial is great.
Submit A Resource
Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?
You can submit the url here.
The resources we feel will appeal to our readers the most will be posted on the front page.