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.

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.