Hour 17. Extending a Class with Protocols and Delegates
What You’ll Learn in This Hour
• Comparing subclassing with Objective-C techniques
• Using a protocol
• Understanding delegates
• Exploring documentation and header files
Exploring the Pros and Cons of Subclassing
In general, this book focuses on Objective-C itself and leaves detailed comparisons with other object-oriented languages to other sources. Even though it has been a quarter century since the rapid rise of object-oriented programming languages, some of the battles among partisans of those languages remain vivid and even bitter.
This part of the book explores the techniques for expanding and extending classes in Objective-C, and it is almost impossible to discuss that topic without ...
Get Sams Teach Yourself Objective-C in 24 Hours 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.