Contents

windowNibName

The name of the document’s sole nib file.

Declaration

var windowNibName: NSNib.Name? { get }

Discussion

Using this name, NSDocument creates and instantiates a default instance of NSWindowController to manage the window. If your document has multiple nib files, each with its own single window, or if the default NSWindowController instance is not adequate for your purposes, you should override makeWindowControllers().

The default value of this property is nil. Subclasses must override it to specify a nib file name.

See Also

Creating and Managing Window Controllers