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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access