![]() System : Linux absol.cf 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, Directory : /proc/self/root/usr/share/GNUstep/Documentation/Developer/Gui/Reference/ |
Upload File : |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>NSNib</title> </head> <body> <font face="serif"> <a href="Gui.html">Up</a> <br /> <h1><a name="title$NSNib">NSNib</a></h1> <h3>Authors</h3> <dl> <dt>Gregory John Casamento (<a href="mailto:greg_casamento@yahoo.com"><code>greg_casamento@yahoo.com</code></a>)</dt> <dd> </dd> </dl> <blockquote> This class serves as a container for a nib file. It's possible to load a nib file from a URL or from a bundle. Using this class the nib file can now be "preloaded" and instantiated multiple times when/if needed. Also, since it's possible to initialize this class using a NSURL it's possible to load nib files from remote locations. <br /> This class uses: NSNibOwner and NSNibTopLevelObjects to allow the caller to specify the owner of the nib during instantiation and receive an array containing the top level objects of the nib file. </blockquote> <p><b>Copyright:</b> (C) 2004 Free Software Foundation, Inc.</p> <div> </div> <h1><a name="001000000000"> Software documentation for the NSNib class </a></h1> <h2><a name="class$NSNib">NSNib</a> : <a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSObject.html#class$NSObject">NSObject</a></h2> <blockquote class="declared"> <dl> <dt><b>Declared in:</b></dt> <dd>AppKit/NSNib.h</dd> </dl> </blockquote> <blockquote> <dl> <dt><b>Conforms to:</b></dt> <dd><a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSObject.html#protocol$(NSCoding)">NSCoding</a></dd> </dl> </blockquote> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="50%" align="left" /> <a href="#_NSNib_ivars">Instance Variables</a> <br/><br/> <b>Method summary</b> <ul> <li><a rel="gsdoc" href="NSNib.html#method$NSNib-initWithContentsOfURL$">-initWithContentsOfURL:</a></li> <li><a rel="gsdoc" href="NSNib.html#method$NSNib-initWithNibNamed$bundle$">-initWithNibNamed:bundle:</a></li> <li><a rel="gsdoc" href="NSNib.html#method$NSNib-instantiateNibWithExternalNameTable$">-instantiateNibWithExternalNameTable:</a></li> <li><a rel="gsdoc" href="NSNib.html#method$NSNib-instantiateNibWithExternalNameTable$withZone$">-instantiateNibWithExternalNameTable:withZone:</a></li> <li><a rel="gsdoc" href="NSNib.html#method$NSNib-instantiateNibWithOwner$topLevelObjects$">-instantiateNibWithOwner:topLevelObjects:</a></li> </ul> <hr width="50%" align="left" /> <div class="method"> <h3><a name="method$NSNib-initWithContentsOfURL$">initWithContentsOfURL: </a></h3> - (id) <b>initWithContentsOfURL:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSURL.html#class$NSURL">NSURL</a>*)nibFileURL;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Load the NSNib object from the specified URL. This location can be any type of resource capable of being pointed to by the NSURL object. A file in the local file system or a file on an ftp site. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSNib-initWithNibNamed$bundle$">initWithNibNamed: bundle: </a></h3> - (id) <b>initWithNibNamed:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)nibNamed<b> bundle:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSBundle.html#class$NSBundle">NSBundle</a>*)bundle;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Load the nib indicated by <code><var>nibNamed</var></code>. If the <code><var>bundle</var></code> argument is <code>nil</code>, then the main <var>bundle</var> is used to resolve the path, otherwise the <var>bundle</var> which is supplied will be used. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSNib-instantiateNibWithExternalNameTable$">instantiateNibWithExternalNameTable: </a></h3> - (BOOL) <b>instantiateNibWithExternalNameTable:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSDictionary.html#class$NSDictionary">NSDictionary</a>*)externalNameTable;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> This method instantiates the nib file. The <var>externalNameTable</var> dictionary accepts the NSNibOwner and NSNibTopLevelObjects entries described earlier. It is recommended, for subclasses whose purpose is to change the behaviour of nib loading, to override this method. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSNib-instantiateNibWithExternalNameTable$withZone$">instantiateNibWithExternalNameTable: withZone: </a></h3> - (BOOL) <b>instantiateNibWithExternalNameTable:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSDictionary.html#class$NSDictionary">NSDictionary</a>*)externalNameTable<b> withZone:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSZone">NSZone</a>*)zone;<br /> <div class="availability"> <b>Availability:</b> Not in OpenStep/MacOS-X</div> <br /> <div class="desc"> This is a GNUstep specific method. This method is used when the caller wants the objects instantiated in the nib to be stored in the given <code><var>zone</var></code>. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSNib-instantiateNibWithOwner$topLevelObjects$">instantiateNibWithOwner: topLevelObjects: </a></h3> - (BOOL) <b>instantiateNibWithOwner:</b> (id)owner<b> topLevelObjects:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSArray.html#class$NSArray">NSArray</a>**)topLevelObjects;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> This method instantiates the nib file. It utilizes the instantiateNibWithExternalNameTable: method to, in a convenient way, allow the user to specify both keys accepted by the nib loading process. </div> <hr width="25%" align="left" /> </div> <a name="_NSNib_ivars"/> <br/><hr width="50%" align="left" /> <h2>Instance Variables for NSNib Class</h2> <h3><a name="ivariable$NSNib*_bundle">_bundle</a></h3> @protected NSBundle* <b>_bundle</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the name of this instance variable indicates that, even though it is not technically <em>private</em>, it is intended for internal use within the package, and you should not use the variable in other code. </div> <hr width="25%" align="left" /> <h3><a name="ivariable$NSNib*_loader">_loader</a></h3> @protected id <b>_loader</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the name of this instance variable indicates that, even though it is not technically <em>private</em>, it is intended for internal use within the package, and you should not use the variable in other code. </div> <hr width="25%" align="left" /> <h3><a name="ivariable$NSNib*_nibData">_nibData</a></h3> @protected NSData* <b>_nibData</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the name of this instance variable indicates that, even though it is not technically <em>private</em>, it is intended for internal use within the package, and you should not use the variable in other code. </div> <hr width="25%" align="left" /> <h3><a name="ivariable$NSNib*_url">_url</a></h3> @protected NSURL* <b>_url</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the name of this instance variable indicates that, even though it is not technically <em>private</em>, it is intended for internal use within the package, and you should not use the variable in other code. </div> <hr width="25%" align="left" /> <br/><hr width="50%" align="left" /><br/> <br /> <a href="Gui.html">Up</a> </font> </body> </html>