---
title: windowNibName
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nswindowcontroller/windownibname
---

# windowNibName

The name of the nib file that stores the window associated with the receiver.

## Declaration

```swift
var windowNibName: NSNib.Name? { get }
```

## Discussion

Discussion If init(windowNibPath:owner:) was used to initialize the instance, windowNibName contains the last path component with the “.nib” extension stripped off. If init(windowNibName:) or init(windowNibName:owner:) was used, NSWindowController contains the name without the “.nib” extension.

## See Also

### Getting Nib and Storyboard Information

- [owner](appkit/nswindowcontroller/owner.md)
- [storyboard](appkit/nswindowcontroller/storyboard.md)
- [windowNibPath](appkit/nswindowcontroller/windownibpath.md)
