Chapter 4Just Enough Objective-C: Part Two

Key Skills & Concepts

• Using properties

• Understanding multiple-argument messages

• Understanding the id variable type, dynamic typing, and dynamic binding

• Understanding inheritance

• Using composition

• Using categories

• Using protocols

• Handling exceptions

In the last chapter, you learned about Objective-C classes, simple message syntax, and managing memory. In this chapter, you learn about properties, multiple-argument messages, dynamic binding, polymorphism, the id type, and inheritance. You also learn about categories and protocols. And finally, you learn about Objective-C exception handling.

Properties

In the last chapter, you had to manage memory when setting an object’s instance variable. ...

Get iOS SDK Programming A Beginners Guide 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.