Quote:
Originally Posted by VinC_HK
When will we use blocks in our apps?
e.g.
[aDictionary enumerateKeysAndObjectsUsingBlock:^ ...]
|
When you need to.
Sure, enumerating the keys of a dictionary would be one place. There are array sorting methods that take blocks. There are also lots of animation methods that take blocks.