🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.programmer
Article #2259

Re: init methods with Project Builder

#2259
From: Karl Kraft
Date: Fri, 22 Jan 1993 19:35
25 lines
1227 bytes
In article <1993Jan22.184146.2218@leland.Stanford.EDU>  
fud@leland.Stanford.EDU (Fred Lide Cheng) writes:
>Hi,
>
>I'm aa beginner to programming the NeXT and to OOP in general.  I'm trying
>to initialize a Matrix class object ( with a different cellClass) at
>the beginning of the program.  I was wondering how one would go about 
>doing this since the main file isn't supposed to be modified.

give the application a delegate and use appDidinit:

or

Make an object that does these modifications and uses awakeFromNib

or

modify the main file, but turn off "Generate Main File on Save" in PB's  
Attributes inspector for the project.


--
__________
Karl Kraft
karl@ensuing.com  (NeXT mail)
Technical Details
Message-ID: <9301221935.AA00493@ensuing.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!karl@ensuing.com
References: <1993Jan22.184146.2218@leland.Stanford.EDU>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!karl@ensuing.com
From: karl@ensuing.com (Karl Kraft)
Subject: Re: init methods with Project Builder
Message-ID: <9301221935.AA00493@ensuing.com>
Sender: daemon@magnus.acs.ohio-state.edu
Reply-To: karl@ensuing.com (Karl Kraft)
Organization: Ensuing Technologies Inc.
References: <1993Jan22.184146.2218@leland.Stanford.EDU>
Distribution: usa
Date: Fri, 22 Jan 1993 19:35:43 GMT
Lines: 26