<<

MacApp •® S Fil e E dit P age e b ug '>!HH�PS !: n!nrs ' ' ' u i ew ID from UiewE dit 201 1.0 bl' Vert : Uiew: TBu t t on I I Horz :

TP ALETTE -1 n s p e t o r 2 TPR INTH AN - "l-=,..,,.,.,.- _ ___.--...,...,,..=�--r-- TBOX $2D7CF8: TSCROLLER · ��� �:���� l�-���-�·-:-�-;·i·�·�······ -:�g�g�gi THEAVYBOX · $2c;:i(;·E,·4·: .fifafR.CiTSH·A·Ptii1t·LL"if.· TL IST · · · · TP ALETTE TSH APEV IE TPR INTH ANDLER TShapeView fDra gging : TC IRCLE $2D7C68 TShape fPa lette : fC lickPt : flD : 2 fS hapeDoc fExtentRect: :66 , t :1 1 )/( TView fShade : (110 03 fS uperVie fOldShade : 599 fS ubViews fC olor : -Black3 fDocument fOldColor : $F 1F1 /$F1 F1 flocation : flsSe lected : FALSE FALSE D e b ug Transcri p t

Cmd- ' -- �reaK ac norma 1 encry Cmd-Option-Sh ift -- Break at procedure boundary Cmd-Op tion-Con tro l-Shift -- Break at nex t VBL

Command [ BCDEFGH I LMOP11QRSTWX? l : G �

Overview MacApp® Ve rsion 2.0B9-the beta complete application MacApp has been used by release of Apple's second-genera­ that creates windows, interprets companies such as Activision, tion object-oriented Macintosh® mouse clicks, handles desk acces­ Farallon, and Odesta to develop -is ideal sories, prints files, and supports commercial applications fornet­ forprogrammers who wish to every other standard fea:ture a working and communications, develop robust, user-friendlypro­ Macintosh application is likely accounting, report generation, fessional applications. to have. geographical data display, CAD, MacApp helps you work more The applications you create optical character recognition, productively. Your application with MacApp can run on any knowledge engineering, and can "inherit" the behavior of a Macintosh Plus, Macintosh SE, or geology. The productivity and standard Macintosh application Macintosh II computer. If the code maintainability of MacApp appli­ directly fromMacApp code and you add followsApp le's compati­ cation development have prov­ you can then override the parts bility guidelines, your applications en valuable to custom in-house you wish to customize. With will run under both the Macintosh softwaredev elopers such as Peat MacApp and less than a page of and the A/Ux® operating systems Marwick Main & Co. your own code, you can have a (and will provide MultiFinder'" compatibility under the Macintosh operating system). Features Benefits

..,,. Standard Macintosh user interface ..,,. Manages menus . ..,,. Supports "undo" commands. ..,,. Provides extensive support forexception handling . ..,,. Allows multipage printing . ..,,. Supports desk accessories . ..,,. Supports scrolling, zooming, and opening and closing of windows .

..,,. Strict adherence to Apple ..,,. Simplifiestask the of creating applications that compatibility guidelines will be compatible with futurehardware and sys­ tem software .

..,,. MultiFinder support ..,,. Allows your MacApp applications to run in the background .

..,,. Improved "view" architecture ..,,. Offersa simple, powerfulview class hierarchy . ..,,. Usesview resources that can be created and edited with the new ViewEdit tool. ..,,. Includes optional 32-bit view coordinates to let you work with large views .

..,,. New TGridView view class ..,,. Supports one-dimensional lists and two-dimen­ sional grids of views (foruse in applications such as spreadsheets) .

..,,. Support tools ..,,. ViewEdit, the new WYSIWYGgraphical window and dialog-box design tool, speeds design of your views . ..,,.integrated An object-oriented debugger speeds debugging . ..,,.new A Object Inspector lets you examine objects . ..,,.improved An build tool makes building your program easier and faster.

..,,. Six sample programs ..,,. beCan used as learning aids or as the founda­ tion foractual programs . ..,,. Includes complete source code. Product Details

The MacApp object-oriented The ClassLibrary switch into MultiFinder to ex­ frameworkincludes a class MacApp 2.0 has 72 classes that amine source code while your library, support tools, and sam­ together handle standard user­ application is stopped in the ple MacApp programs. Manuals interfacefeatures of Macintosh debugger. forbeginners as well as experts applications in a manner that Object Inspector. Debug ver­ are available separately. adheres strictly to Apple's user­ �sions of MacApp 2.0 applica­ MacApp provides a general interfaceguidelines. Features tions allow you to open one or structurethat implements the handled by MacApp include more Object Inspector windows. standard Macintosh interface, in­ multiple documents, pull-down AnInspector window can dis­ cluding scrollable, resizable win­ menus, desk accessory support, play the current values of the dows and multipage printing. printing, and window manipu­ fieldsof any object. Since you MacApp fostersdevelopment lations such as scrolling, moving, can have multiple Inspector of robust, professional-quality resizing, and zooming. A frame­ windows open, you can inspect applications by providing you work is provided to make it several objects at one time. The with extensive memory man­ easier for theprogrammer to Object Inspector can display agement support, exception­ support other standard user­ the contents of Macintosh Tool­ handling mechanisms, support interface features,such as box data structuresas well as for"undo" commands,and a undo, cut, copy, and paste. MacApp objects. large body of ready-to-use, MacApp also contains an ex­ Sample Programs high-quality code that can be tensive error-handling system Six sample programs are includ­ inherited by your application. that presents detailed error mes­ ed with MacApp. These are com­ MacApp code works with all sages to an application's user. plete Macintosh applications currentMacintosh hardware and SupportTools that demonstrate many features, system software,including Multi­ ViewEdit. This MacApputil­ including windows that users and A/UX.The MacApp �ity program allows you to use can move, resize, scroll, and code adheres strictly to Apple's a WYSIWYGediting environ­ zoom; multiple documents; the compatibility guidelines, so it ment to create windows and Clipboard; cut, copy, and paste; greatly simplifiesthe task of en­ dialog boxes. ViewEdit allows disk-based documents; font suring that an application will be you to draw, resize, and move changes; multiple views; undo compatible with futurehardware your views using the standard commands; modal and mode­ and system softwareproducts Macintosh interface. It even less dialog boxes; andprinting. fromApple. creates and rearranges your Many developers have used MacApp is already multi­ view hierarchies as you go. these samples as starting points lingual, and will become even MABuild.MABuild is an forapplications, modifyingand more so in futurereleases. Appli­ �MPW tool that controls the expanding a sample until it cations using MacApp must be building of an application from evolves into a new application. written at least partially in Ob­ its source files.This latest ver­ The six sample programs are ject Pascal; this object-oriented sion is faster,smarter, and more as follows: code can call routines written flexiblethan in previous releas­ No thing has only 70 lines of " in any MPW' (Macintosh Pro­ es. For example, it has many �code, yet it can open multiple grammer's Workshop) language, more defaults, so relatively sim­ windows, show the Clipboard, including standard Pascal, assem­ ple applications (including most do manual and automatic scroll­ bly language, and C. The next of the sample programs includ­ ing, print, and support desk ac­ release of MacApp will allow ed with MacApp) no longer re­ cessories. programmers to use C ++ in quire an MPW "make" file. Cale demonstrates the use of place of . MacApp debugger. The �the TGridView class in a simple Note that MacApp is a frame­ �MacApp debugger provides spreadsheet application. work forap plicationsonly. all the usual debugging fea- DemoText demonstrates the MacApp is not the appropriate tures, such as breakpoints, �use of styled text. tool forbuilding other sorts of stackcrawl, trace, and single DemoDialogs shows a variety programs. It cannot be used to step. The MacApp Version 2.0 �of dialog boxes. create device drivers, desk acces­ debugger provides fastertracing, DrawShapes is a simple sories, or HyperCard® XCMDs, built-in commands forcontrolling �drawing application. forexample. MPW perforrnance-monitoring Cardsis a note-card applica­ tools, and new context-sensitive �tion that demonstrates the use of on-line help. Now you can also disk-based data. MacApp

Product Details cont Training andSupport a number of useful products application formis included Apple offersa one-week course and a monthly newsletter. with the product. After paying titled "MacApp and Object- You can contact the group at: a nominal annual license fee, Oriented Programming." MacApp Developer's you may ship any quantity of For details, please contact: Association any number of MacApp applica- Apple Developer P.O. Box 23 tions foruse on the Macintosh. University Registrar Everett, WA 98206 For furtherinformation, 20525 Mariani Avenue (206) 252-6946 please contact: MIS 51M AppleLink: X0501 Apple Computer Software Licensing Cupertino, CA 95014 licensing (408) 974-6215 To ship applications built 20525 Mariani Avenue AppleLink®: DEVUNIV using MacApp, you must ob- MIS 38I The independent MacApp tain a license fromApple ; an Cupertino, CA 95014 Developer's Association offers

System Requirements To develop MacApp appli- AnApple® Macintosh Plus, Macintosh Programmer's cations, you will need the �Macintosh SE, or Macintosh II Wo� rkshop Version 3.0 following: computer with at least 2 mega- Macintosh Programmer's � bytes of RAM and 128K of ROM Workshop Pascal Version 3.0 Ahard disk Macintosh Programmer's � Wo� rkshop Assembler Version 3.0

Ordering Information MacApp and related products contains an overview of the MacApp 2.0 Cookbook. A are available from theApple structure of MacApp and collection� of "recipes" forper- Programmers and Developers instructions for usingthe formingtypical functions such Association (APDA'") at the MacApp tools. APDA Order as opening windows and creat- \ address listed below. No. M0300LL/A ing documents. APDA Order MacApp Version 2. 0B9. Six MacApp 2. 0 Tutorial. Pro- No. M0299LL/A �disks containing MacApp library vides� step-by-step instructions MacApp 2.0B9 Source source code, sample programs, forinstalling MacApp and �Listin gs. Contains printed, and support tools. APDA Order creating a functionalsample cross-referenced listings of the No. M7022/A program; source code forthat MacApp v.2.0B9 source code, Introduction to MacApp 2.0 program is included on an ac- and listings of MacApp sample �and Object-Oriented Program- companying disk. APDA Order programs. APDA Order No. ming. Describes the concepts No. M0303LL/A M6021/A behind object-oriented pro- gramming and MacApp, and

AuxiliaryProducts The followingproducts are also MacApp Browser. A desk ac- A selection of fourdisks (sold available fromADPA: �cessory created by the MacApp separately)� fromthe MacApp Object-OrientedProgr am- Developer's Association that Developer's Association. Con- �min g/or the Macintosh, by allows you to browse through tains complete sample applica- Kurt]. Schmucker. Published the source code in the MacApp tions, source code fragments, by Hayden Book Company, and class hierarchy, as well as any and MPW tools and shell scripts. available in many bookstores. source code that you create.

Apple Programmers and Apple Computer, Inc. 1-800-282-APDA Fax: ( 408) 562-3971 Developers Association 20525 Mariani Avenue Cl-800-282-2732) CompuServe:766 ,2045 MIS 33G TIX: 171-576 MCI Mail: Postrom Cupertino, CA 95014 AppleLink: APDA GEnie: A.DEVELOPER3

Apple Computer, Inc. 20525 MarianiAv enue © 1989 Apple Computer, Inc. Apple, the Apple logo, AppleLink, HyperCard, MacApp, and Macintosh are registered trademarks of Apple Computer, Inc. APDA,A/UX, MPW, and MultiFinder are Cupertino,CA 95014 trademarks of Apple Computer, Inc. CompuServe is a registered service mark of CompuServe, Inc. (408) 996-1010 GEnie is a trademark of General Electric Company. MCI Mail is a registered servicemark of MCI Communications Corporation. TIX: 171-576 June 1989. Product specificationsare subject to change without notice. Printed in U.S.A. M0243LL/A