🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

need nib file help

#975
From: Patrick Hester
Date: Fri, 11 Sep 1992 20:47
25 lines
1360 bytes
Can anyone shed some light on this...

We've got an application which will be made up of several nib files.
Each nib file will have it's own controller object (subclass of object)
and one or more windows.
The main nib file has a menu and target/action methods to load
each of the other nibs.
When a nib file is loaded, only one window should be visible.
This we handled in an awakeFromNib method.
But say the user closes the main window.
Next time they click the menu for that nib we want to redisplay
that one window without unpacking the nib again.
So how do we tell the id of that window?
At first it seemed that loadNibFile was returning the id.
But the doc says it's only an indication of whether the load
worked or no.
And what about file owners?
Should the loaded nib files have their controller object as the owner
or the main app object?
Come to think of it, can anyone help me with the concept of
"file owner"?

please reply by email to ph@pencom.com

thanks in advance for any help
Technical Details
Message-ID: <1992Sep11.204747.27888@psisa.psi>
Path: arc1-ca.pugleaf.net!sparky!uunet!psinews!usenet

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!psinews!usenet
From: ph@theora (Patrick Hester)
Subject: need nib file help
Message-ID: <1992Sep11.204747.27888@psisa.psi>
Sender: usenet@psisa.psi (News system)
Reply-To: ph@pencom.com
Organization: Pencom Systems Incorporated
Date: Fri, 11 Sep 1992 20:47:47 GMT
Lines: 25