O'Reilly logo

Beginning Mac OS® X Programming by Drew McCormack, Michael Trent

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required