Type Method

loadNibNamed:owner:

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

Declaration

+ (BOOL)loadNibNamed:(NSString *)nibName owner:(id)owner;

Parameters

aNibName

The name of the nib file, which need not include the .nib extension. The file name should not include path information. The object in the owner parameter determines the location in which to look for the nib file.

owner

The object to assign as the nib File's Owner. If the class of this object has an associated bundle, that bundle is searched for the specified nib file; otherwise, this method looks in the main bundle.

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.

+ loadNibFile:externalNameTable:withZone:

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

Deprecated
- loadNibFile:externalNameTable:withZone:

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

Deprecated