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

6.15. Summary

This chapter has been a crash course in the one of the most important languages on Mac OS X. Along the way you have learned

  • That C is the Latin of programming languages, underpinning operating systems such as Mac OS X and fathering more modern languages such as Objective-C, Java, and C++.

  • About various aspects of C, such as variables, pointers, functions, conditional branching, memory management, and looping.

  • About structured programming in C, where data structures are coupled with functions to form abstract data types (ADTs). This style of programming is used in fundamental Mac OS X frameworks such as CoreFoundation, QuickTime, and Carbon. It is also the basis of object-oriented programming (OOP).

In the next chapter, you learn about Objective-C, which together with the Cocoa frameworks (Chapter 8) forms the basis of most new application development on Mac OS X. 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