Article View: comp.sys.next.programmer
Article #1058Re: Interface builder Run mode
From: Gregory H. Anderson
Date: Tue, 01 Sep 1992 18:04
Date: Tue, 01 Sep 1992 18:04
24 lines
1541 bytes
1541 bytes
In article <1992Aug28.230458.23785@dvorak.amd.com> rpomeroy@aunext3.cam.amd.com (Ron Pomeroy x(Coop)) writes: >[stuff about calculator example not working in IB run mode] > > Now wait a minute. When you tell it to do a calculation you're > actually making a method call (that you typed in in Controller.hm) ? > How can InterfaceBuilder invoke a method that hasn't been compiled ? > Am I missing something here ? > No, you're not missing anything, you're absolutely right. However, there is a way around this. When you build a palette, you can include code for classes other than the actual palette View objects. Those classes become part of the runtime image of IB, and can be called from Run mode. In the extreme, you could make a palette that includes all of the classes from your application, load it into IB, and actually run your app inside IB! Cool, no? -- Gregory H. Anderson | "We're very tolerant around here, Benevolent Dictator-for-Life | being only amateurs ourselves." Anderson Financial Systems | - Tortoise (Godel, Escher, Bach) greg@afs.com (Nextmail OK) |
Technical Details
Message-ID:
<1992Sep1.180445.9312@afs.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!rpi!psinntp!psinntp!afs!gregReferences:
<1992Aug28.230458.23785@dvorak.amd.com>Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!rpi!psinntp!psinntp!afs!greg From: greg@afs.com (Gregory H. Anderson) Subject: Re: Interface builder Run mode Message-ID: <1992Sep1.180445.9312@afs.com> Sender: greg@afs.com Reply-To: greg@afs.com References: <1992Aug28.230458.23785@dvorak.amd.com> Distribution: usa Date: Tue, 1 Sep 1992 18:04:45 GMT Lines: 24