home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!veritas!amdcad!dvorak.amd.com!usenet
- From: rpomeroy@aunext3.cam.amd.com (Ron Pomeroy x(Coop))
- Newsgroups: comp.sys.next.programmer
- Subject: Re: Interface builder Run mode
- Message-ID: <1992Sep4.014007.7808@dvorak.amd.com>
- Date: 4 Sep 92 01:40:07 GMT
- References: <1992Sep1.180445.9312@afs.com>
- Sender: usenet@dvorak.amd.com (Usenet News)
- Reply-To: rpomeroy@aunext3.cam.amd.com
- Distribution: usa
- Organization: Advanced Micro Devices, Inc.; Austin, Texas
- Lines: 37
-
- In article <1992Sep1.180445.9312@afs.com> greg@afs.com (Gregory H. Anderson)
- writes:
- >>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) |
-
- Well...yea...I see your point. But, now you've got more work than you started
- with - just to test (test being the keyword here) your interface. Palettes are
- compiled (yes/no?). What would really be cool is to have a runtime as powerful
- as SmallTalk's. Just imagine - highlight a little Obj-C and "accept" and
- presto! - A NeXTstep window magically appears in your screen...
- --
- Ronald Pomeroy (Objective-C\NeXTstep\SmallTalk\ObjectWorks neophyte)
- Advanced Micro Devices
- CAM Applications Group
- rpomeroy@aunext3.amd.com
-