NSNib object initialized to the nib file in the specified bundle.
- macOS 10.3+
The name of the nib file, without any leading path information. Inclusion of the
.nibextension on the nib file name is optional.
The bundle in which to search for the nib file. If you specify
nil, this method looks for the nib file in the main bundle.
NSNib object or
nil if there were errors during initialization or the nib file could not be located.
NSNib object looks for the nib file in the bundle's language-specific project directories first, followed by the
After the nib file has been loaded, the
NSNib object uses the bundle’s resource map to locate additional resources referenced by the nib. If you specified
nil for the
bundle parameter, the
NSNib object looks for those resources in the bundle associated with the class of the nib file’s owner instead. If the nib file does not have an owner, the
NSNib object looks for additional resources in the application’s main bundle.