Chapter 14. Protocols and Delegates

Congratulations, you have acquired the skills to become an iOS developer! However, there are two additional topics that iOS developers need to understand to be successful: protocols and delegates. It is not uncommon for new developers to get overwhelmed by these topics, so we thought it best to introduce the foundation topics of the Objective-C language first and conclude this book with protocols and delegates.

Multiple Inheritance

We discussed object inheritance in Chapter 1. In a nutshell, object inheritance means that a child can inherit all the characteristics of its parent. See Figure 14-1.

Typical Objective-C inheritance

Figure 14.1. Typical ...

Get Objective-C for Absolute Beginners: iPhone, iPad, and Mac Programming Made Easy 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.