🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: loadNibSection return value

#1347
From: chris Chris Larson
Date: Thu, 08 Oct 1992 16:09
28 lines
1533 bytes
Art Isbell writes
> 
> In article <BvrGB9.15x@oceania.com> chris@oceania.com writes:
> >The method:
> >
> >window = [NXApp loadNibSection:"NibFile.nib" owner:self];
> >
> >currently returns a window pointer to one of the windows in the nib section.  Does >  
>anyone  know if this is a stable "feature"?
> 
> I asked NeXT Support about this because the return value is used in one of
> their MiniExamples.  However, it isn't documented and if more than one window
> is in a nib, which id is returned is indeterminate (well, at least by us mere
> mortals :-)
> 
> So NeXT has recommended against using the return as the Window id because this
> behavior could change in the future.
> -- 

The one time that this is really usefull if if you have a nib file with one window in it.   
Then at run time, you can get a link to the window, without having to use IB to connect  
it up.  Much more dynamic.

Chris
-- 
Chris Larson  <==>  chris@oceania.com  <==>  NeXT Mail is cool
Oceania Health Care Systems                      Palo Alto, CA
The Software Ranch                               Park City, UT
Technical Details
Message-ID: <Bvt8v8.1rt@oceania.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!oceania!chris
References: <1b0di0INN6k2@darkstar.UCSC.EDU>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!oceania!chris
From: chris (Chris Larson)
Subject: Re: loadNibSection return value
Message-ID: <Bvt8v8.1rt@oceania.com>
Sender: chris@oceania.com (Chris Larson)
Reply-To: chris@oceania.com
Organization: Oceania Health Care Systems
References: <1b0di0INN6k2@darkstar.UCSC.EDU>
Distribution: na
Date: Thu, 8 Oct 1992 16:09:07 GMT
Lines: 29