Jump to content

Macintosh Programming Primer 1989

From RetroTechCollection

Macintosh Programming Primer: Inside the Toolbox Using THINK's LightspeedC is a 1989 book by Dave Mark and Cartwright Reed, with a foreword by Stephen Chernicoff, published by Addison-Wesley. The scan is of the first printing, April 1989. ISBN 0-201-15662-8; Library of Congress QA76.8.M3M368 1989, card number 88-34992.[1] The Library of Congress record gives the extent as x, 532 pages.[2]

This is the first edition of the book later sold as the Macintosh C Programming Primer. Its ISBN is the one printed as Volume I in the Library of Congress data of the second volume, which is held here as Macintosh C Programming Primer 1990; the second edition of this volume is Macintosh C Programming Primer 1992.[3]

The book teaches Macintosh Toolbox programming in C with THINK C, through a series of small programs: Hello, Hello2, Mondrian, ShowPICT and a flying-line screen saver for QuickDraw; EventTutor for the Event Manager; Timer and Zinger for menus; Reminder for dialogs and the Notification Manager; WindowMaker, ShowClip, PrintPICT, Pager and Sounder for windows, the Scrap, Printing, File and Sound Managers and scroll bars. A chapter on ResEdit finishes a standalone application. The authors expect the reader to know the Macintosh as a user and to have some C or Pascal.[4]

Contents

[edit | edit source]

Page numbers are from the book's table of contents.[5]

  • Acknowledgments, p. vii
  • Foreword (Stephen Chernicoff), p. ix
  • 1 Introduction, p. 1
  • 2 Setting Up, p. 23
  • 3 Drawing on the Macintosh, p. 43
  • 4 The Event Mechanism, p. 103
  • 5 Menu Management, p. 143
  • 6 Working with Dialogs, p. 197
  • 7 Toolbox Potpourri, p. 263
  • 8 Using ResEdit, p. 355
  • 9 The Final Chapter, p. 397
  • Appendix A: Glossary, p. 405
  • Appendix B: Code Listings, p. 419
  • Appendix C: THINK C Command Summary, p. 481
  • Appendix D: The Debugger Command Summary, p. 493
  • Appendix E: Debugging Techniques, p. 499
  • Appendix F: Building HyperCard XCMDs, p. 505
  • Appendix G: Bibliography, p. 521
  • Index, p. 523

What this book does not contain

[edit | edit source]

It is a programming book. It has no service procedures, parts lists, schematics or electrical data for the Macintosh; Apple's repair documentation is in Category:Apple Service Source. The source code disk, offered by coupon, is not included. The hosted scan is 537 PDF pages, including the covers.

[edit | edit source]

Download: Macintosh Programming Primer 1989.pdf (31 MB)

References

[edit | edit source]
  1. ↑ Dave Mark and Cartwright Reed, Macintosh Programming Primer (Addison-Wesley, 1989), title page and copyright page (PDF pp. 2-3).
  2. ↑ Open Library, Macintosh programming primer: inside the toolbox using THINK's Lightspeed C, record OL22218433M, from Library of Congress catalogue data. Retrieved 2026-09-30.
  3. ↑ Open Library, record OL2056602M: Library of Congress 88-34992 catalogued as a two-volume set, ISBNs 0-201-15662-8 and 0-201-57016-5. Retrieved 2026-09-30.
  4. ↑ Mark and Reed, Macintosh Programming Primer, chapter 1, "Introduction", pp. 1-21, especially "What You Need to Know", p. 7.
  5. ↑ Mark and Reed, Macintosh Programming Primer, Contents, pp. iii-vi (PDF pp. 4-7).