home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / next / programm / 5951 < prev    next >
Encoding:
Text File  |  1992-09-02  |  1.5 KB  |  37 lines

  1. Newsgroups: comp.sys.next.programmer
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!rpi!psinntp!psinntp!afs!greg
  3. From: greg@afs.com (Gregory H. Anderson)
  4. Subject: Re: Interface builder Run mode
  5. Message-ID: <1992Sep1.180445.9312@afs.com>
  6. Sender: greg@afs.com
  7. Reply-To: greg@afs.com
  8. References: <1992Aug28.230458.23785@dvorak.amd.com>
  9. Distribution: usa
  10. Date: Tue, 1 Sep 1992 18:04:45 GMT
  11. Lines: 24
  12.  
  13. In article <1992Aug28.230458.23785@dvorak.amd.com>  
  14. rpomeroy@aunext3.cam.amd.com (Ron Pomeroy x(Coop)) writes:
  15.  
  16. >[stuff about calculator example not working in IB run mode]
  17. > Now wait a minute.  When you tell it to do a calculation you're
  18. > actually making a method call (that you typed in in Controller.hm) ?
  19. > How can InterfaceBuilder invoke a method that hasn't been compiled ?  
  20. > Am I missing something here ?
  21.  
  22. No, you're not missing anything, you're absolutely right. However, there  
  23. is a way around this. When you build a palette, you can include code for  
  24. classes other than the actual palette View objects. Those classes become  
  25. part of the runtime image of IB, and can be called from Run mode. In the  
  26. extreme, you could make a palette that includes all of the classes from  
  27. your application, load it into IB, and actually run your app inside IB!  
  28. Cool, no?
  29.  
  30. --
  31. Gregory H. Anderson          | "We're very tolerant around here,
  32. Benevolent Dictator-for-Life |  being only amateurs ourselves."
  33. Anderson Financial Systems   | - Tortoise (Godel, Escher, Bach)
  34. greg@afs.com  (Nextmail OK)  | 
  35.