Hour 20. Working with Blocks
What You’ll Learn in This Hour
Comparing blocks to callbacks
Using typedef
and function pointers
Declaring blocks
Using blocks
Revisiting Blocks
Blocks are not new; they were a part of Smalltalk and other languages 30 or more years ago. (In some cases, they were referred to as closures for reasons that you see in this ...
Get Sams Teach Yourself Objective-C in 24 Hours, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.