Summary

The Objective-C runtime is one of the strengths of Cocoa and provides many advantages over other languages for certain applications. The Objective-C runtime can also be misused. The techniques and information presented in this appendix are not needed to implement the vast majority of Cocoa applications. The almost unparalleled flexibility and power enabled by the runtime make detailed introspection, the integration of scripting languages, and sophisticated optimizations possible, but it is necessary to use low-level C code and it is very easy to introduce hard to track bugs unless great care is taken.

Appendix B, “Optimizing and Finding Memory Leaks,” describes several techniques for debugging and optimizing Cocoa applications. Cocoa ...

Get Cocoa® Programming 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.