Chapter     15

Blocks

Welcome back. Congratulations on making it to this point! So far, you have covered all the fundamental elements of the Objective-C platform. But guess what? You haven’t reached the finish line just yet! That’s because Objective-C has a variety of additional, advanced features that, once mastered, will enable you to take your programming to the next level. In Part 4 of this book, you will explore several of these features and learn how to use them in your programs.

In this chapter, you will learn how to program with blocks, a powerful feature available for the Objective-C language. The chapter explores block syntax and semantics, memory management, how to develop blocks in your own code, and how to use blocks in existing ...

Get Pro Objective-C 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.