home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / mac / oop / macapp3 / 9 < prev    next >
Encoding:
Internet Message Format  |  1992-11-17  |  1.4 KB

  1. Path: sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!swrinde!cs.utexas.edu!sun-barr!ames!agate!NewsWatcher!user
  2. From: werner@soe.berkeley.edu (John Werner)
  3. Newsgroups: comp.sys.mac.oop.macapp3
  4. Subject: Re: What is MacApp?
  5. Followup-To: comp.sys.mac.oop.macapp3
  6. Date: 17 Nov 1992 23:24:29 GMT
  7. Organization: UC Berkeley School of Education
  8. Lines: 18
  9. Distribution: world
  10. Message-ID: <werner-171192151949@128.32.157.31>
  11. References: <1ebrnkINN63a@usenet.INS.CWRU.Edu>
  12. NNTP-Posting-Host: 128.32.157.31
  13.  
  14. MacApp is an "object-oriented application framework" for creating Mac
  15. applications.  It consists of a bunch of C++ classes (also usable from
  16. Object Pascal) that implement objects common in Mac programs.  Some of the
  17. classes are TApplication, TDocument, TWindow, TView, etc.  All of the
  18. infrastructure for hooking these objects together, handling windows,
  19. dispatching menu commands and other events, figuring out where the mouse
  20. was clicked, supporting Undo, and so on, are built in.
  21.  
  22. To write an application, you create customized subclasses that implement
  23. your application-specific behavior.  Usually you have to create a TDocument
  24. subclass to store your data, a TView subclass to display it, and a bunch of
  25. TCommand subclasses to manipulate it.  It's not really quite this simple,
  26. of course, but once you've learned MacApp it makes writing applications a
  27. lot easier.
  28.  
  29. --
  30. John Werner                         werner@soe.berkeley.edu
  31. UC Berkeley School of Education     510-642-9651
  32.