🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.next.programmer
1 messages
1 total messages Started by Patrick Hester Fri, 11 Sep 1992 20:47
need nib file help
#975
Author: 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
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