Final notes

If you would like to learn even more about the Objective-C Runtime, head to the documentation and look up the Objective-C Runtime Programming Guide and the Objective-C Runtime Reference.

Now that you have learned some of the magic, you probably want to try out some of these functions in your code.

Don’t do this.

Knowing that these functions exist helps draw back the curtain to understand what is going on under the hood of your programs. However, the runtime functions are primarily for use by Apple’s developers to support Apple’s APIs, and can be very unwieldy when used by us mortals.

Get Objective-C Programming: The Big Nerd Ranch 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.