Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!ucsd!hub!mango!dz From: dz@mango.ucsb.edu (Daniel James Zerkle) Newsgroups: comp.sys.next Subject: initializing objects in an application.... Message-ID: <2299@hub.UUCP> Date: 1 Sep 89 19:29:28 GMT Sender: news@hub.UUCP Reply-To: dz@cornu.ucsb.edu (Daniel James Zerkle) Distribution: usa Organization: University of California, Santa Barbara Lines: 16 I have some objects in an application instantiated by the Interface Builder. I would like them to do some initialization at the beginning of the program to set up a few initial instance variables to default values. I will be using outlets, so this initialization can take place only after *all* the objects have been created, so overriding the +new method won't fly. Is there some good way to do this? I guess the ideal thing would be if there was some instance method that gets automatically called for each object that IB makes. Anybody know? -Dan | Dan Zerkle home:(805) 968-4683 morning:961-2434 afternoon:687-0110 | | dz@cornu.ucsb.edu dz%cornu@ucsbuxa.bitnet ...ucbvax!hub!cornu!dz | | Snailmail: 6681 Berkshire Terrace #5, Isla Vista, CA 93117 | | Disclaimer: If it's wrong or stupid, pretend I didn't do it. |