Type Method

loadNibFile:externalNameTable:withZone:

Unarchives the contents of the nib file and links them to objects in your program.

Declaration

+ (BOOL)loadNibFile:(NSString *)fileName externalNameTable:(NSDictionary *)context withZone:(NSZone *)zone;

Parameters

fileName

The location of the nib file specified as an absolute path in the file system.

context

A name table whose keys identify objects associated with your program or the nib file. The newly unarchived objects from the nib file use this table to connect to objects in your program. For example, the nib file uses the object associated with the NSNibOwner constant as the nib file's owning object. If you associate an empty NSMutableArray object with the NSNibTopLevelObjects constant, on output, the array contains the top level objects from the nib file. For descriptions of these constants, see NSNib.

zone

The memory zone in which to allocate the nib file objects.

Return Value

YES if the nib file was loaded successfully; otherwise, NO.

See Also

Loading Nib Files

- loadNibNamed:owner:options:

Unarchives the contents of a nib file located in the receiver's bundle.

- loadNibNamed:owner:topLevelObjects:

Loads a nib from the bundle with the specified file name and owner.

+ loadNibNamed:owner:

Unarchives the contents of the nib file and links them to a specific owner object.

Deprecated
- loadNibFile:externalNameTable:withZone:

Unarchives the contents of a nib file located in the receiver's bundle.

Deprecated