Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!uccba!spca6!kgw2!dennisg From: dennisg@kgw2.UUCP (Dennis Glatting) Newsgroups: comp.sys.next Subject: Re: window object and awake method Summary: awake method Keywords: window awake Message-ID: <306@kgw2.UUCP> Date: 7 Dec 89 18:08:44 GMT References: <128@kgw2.UUCP> <12934@polya.Stanford.EDU> Organization: Xetron Corp, Cincinnati Ohio Lines: 28 In article <12934@polya.Stanford.EDU>, ali@polya.Stanford.EDU (Ali T. Ozer) writes: > In article <128@kgw2.UUCP> dennisg@kgw2.UUCP (Dennis Glatting) writes: > >its finishUnarchiving method. what's wrong? > > The best is to have a common initialization routine that is called by both > your new methods and the read/awake pair. This way the initailization will > get done properly no matter how the object is created. > i've overrode the getNewContent method but the controls and other objects aren't allocated at that point. i need to manipulate some of those objects (since i'm inserting some custom objects). since i have multiple .nib files being loaded on demand, i believe i can work around the problem by overriding the getNewContent method then calling a myAwake method after it is read in. if there is an established technique, like awake, then that is what i preferr to use. so when a .nib file is loaded the file's contents aree a template. does this imply that, since i currently override the getNewContent method, that the objects i create after [super..] vanish? (i guess what i'm really asking is whether the object created with getNewContent is the object or is it copied?) could you point me in a direction that i could educate myself better on this process? -- dennisg%kgw2%tron.UUCP@umbc3.UMBC.EDU | Dennis P. Glatting I want my own NeXT, 64 MB RAM, 660 MB SCSI, NeXT Printer. ** Accepting Donations **