🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.next.programmer
3 messages
3 total messages Started by Fred Lide Cheng Fri, 22 Jan 1993 18:41
init methods with Project Builder
#2248
Author: Fred Lide Cheng
Date: Fri, 22 Jan 1993 18:41
8 lines
705 bytes
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.

fred
Re: init methods with Project Builder
#2259
Author: 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)
Memory Management NeXT/Windows
#2270
Author: Michael Brill
Date: Sat, 23 Jan 1993 04:07
15 lines
1110 bytes
I'm developing an app on the NeXT that I'd like to take the bulk
of to either Windows and/or Macintosh.  I think I know how to 
port everything but the UI and memory management.

As far as the UI goes, I'm not going to worry about now.  What I
am worried about is memory management.  I've scanned through the
Windows docs and understand how memory management works there
(getting handle, locking, operating, unlocking) and I'm looking
for an established scheme to make the port seamless between Unix
and Windows/Mac.

Any ideas?  Thanks, ...Michael Brill (yikes@netcom.com)
-- 
----
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads