7.12. Summary

This chapter has introduced you to one of the most important languages on Mac OS X for applications development. You learned

  • What object-oriented programming (OOP) entails, including the important concepts of encapsulation, inheritance, and polymorphism

  • That Objective-C is a superset of C that introduces powerful OO programming capabilities with minimal extensions

  • Aspects of Objective-C such as classes, protocols, categories, methods, data hiding, messaging, and memory management

  • How to write a Foundation Tool in Objective-C that makes use of fundamental Cocoa classes from the Foundation framework, while leveraging the OO capabilities of Objective-C

In the next chapter, you learn about the Cocoa Frameworks, which form the basis of most new application development on Mac OS X and which are tightly coupled with Objective-C. Before proceeding, however, try the exercises that follow to test your understanding of the material covered in this chapter. You can find the solutions to these exercises in the Appendix A.

Get Beginning Mac OS® X 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.