🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: loadNibSection return value

#1432
From: Robert D. Nicholson
Date: Mon, 12 Oct 1992 13:52
24 lines
1308 bytes
aozer@next.com (Ali Ozer) 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"?  Current documentation doesn't mention anything
>>about the return value, other than it won't be nil if the nib section is loaded 
>>correctly.

>No! I mean, YES, I know if this is a stable feature or not, and NO, it isn't.
>This method is not documented to return a window, so don't rely on it. Use outlets.

>Ali, Ali_Ozer@NeXT.com







What does it return since, all *_main.m files use the return value in a if 
statement.  So I guess in this case its checking if the file was found on
disk I guess????
Technical Details
Message-ID: <1992Oct12.135220.27053@monu6.cc.monash.edu.au>
Path: arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!ames!network.ucsd.edu!munnari.oz.au!bruce.cs.monash.edu.au!monu6!ede978e
References: <BvrGB9.15x@oceania.com> <5378@rosie.NeXT.COM>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!ames!network.ucsd.edu!munnari.oz.au!bruce.cs.monash.edu.au!monu6!ede978e
From: ede978e@monu6.cc.monash.edu.au (Robert D. Nicholson)
Subject: Re: loadNibSection return value
Message-ID: <1992Oct12.135220.27053@monu6.cc.monash.edu.au>
Organization: Monash University, Caulfield Campus
References: <BvrGB9.15x@oceania.com> <5378@rosie.NeXT.COM>
Date: Mon, 12 Oct 1992 13:52:20 GMT
Lines: 25