[comp.lang.pascal] MAC programming

Aron_Fingers_Nelson@cup.portal.com (11/03/88)

Is there any book(s) on programming the Macintosh that takes you through
a *complete* program on the MAC. Explaining how to call resources and using
the toolbox effectively. I know how to program in C and Pascal but need to know
how to interface and write MAC applications with the least amount of extra
information. Many books describe and explain the toolboxes but do not take
the reader through a whole working MAC program. Is there a book available
that will explain MAC programming?

Please don't recommend "inside MACintosh as I have them"

thanks in advance

aron_nelson@cup.portal.com

milne@ics.uci.edu (Alastair Milne) (11/13/88)

> Is there any book(s) on programming the Macintosh that takes you through
> a *complete* program on the MAC. Explaining how to call resources and using
> the toolbox effectively. I know how to program in C and Pascal but need to know
> how to interface and write MAC applications with the least amount of extra
> information. Many books describe and explain the toolboxes but do not take
> the reader through a whole working MAC program. Is there a book available
> that will explain MAC programming?

     The one I like is still "Macintosh Revealed" by Stephen Chernikoff.  It
     does just what you describe: as it explores each unit and area in the
     ToolBox, it demonstrates its use by building a simple text editor (simple
     by the Mac's standards, at least).  The successive sections are each
     contained in their respective chapters; and at the end, the entire source
     is given.

     This is valuable for showing the protocols or sequences in which 
     the ToolBox expects its routines to be used; and for showing use of the
     toolbox data structures, and what assumptions are made about them.

     A word of caution, though: a *complete* demo of the toolbox would surely
     be prohibitive, as it is very big, with hundreds of routines.  I think
     Chernikoff does a reasonable job exploring the things most people are
     likely to want in everyday work.

     Though I don't have it here with me to check, I believe Pecan Software's
     MacAdvantage manual also contains sample code -- Chernikoff's assumes
     Lisa Pascal, and MacAdvantage assumes UCSD Pascal -- nice to have both
     perspectives.


     Alastair Milne

c60a-1cu@e260-1d.berkeley.edu (Drew Dean) (11/14/88)

In article <17498@adm.BRL.MIL> milne@ics.uci.edu (Alastair Milne) writes:
>> Is there any book(s) on programming the Macintosh that takes you through
>> a *complete* program on the MAC. Explaining how to call resources and using
>> the toolbox effectively. I know how to program in C and Pascal but need to know
>> how to interface and write MAC applications with the least amount of extra
>> information. Many books describe and explain the toolboxes but do not take
>> the reader through a whole working MAC program. Is there a book available
>> that will explain MAC programming?
There are 2 books that you need -- RUN, do not walk, to the nearest good 
computer book selction near you and buy Scott Knaster's _How_to_Write
Macintosh_Software_, and _Macintosh_Programming_Secrets_..  Scott Knaster
works for Apple, and explains the process of Macintosh development better
than ANYONE else....You're also going to need volumes 1,2,4 and 5, of
_Inside_Macintosh_, like or not....Volume 3 is optioinal, personally I refuse
to pay $20 for 6 pages of information....(The rest of the book is outdated.)


Drew Dean
Internet: c60a-1cu@web.berkeley.edu
UUCP: ...!ucbvax!web!c60a-1cu
FROM Disclaimers IMPORT StandardDisclaimer;