<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSWindowController/windowNibPath",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSWindowController(py)windowNibPath"
  },
  "title" : "windowNibPath"
}
-->

# windowNibPath

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

```
var windowNibPath: String? { get }
```

## Discussion

If [`init(windowNibPath:owner:)`](/documentation/AppKit/NSWindowController/init(windowNibPath:owner:)) was used to initialize the instance, this property contains the path. If [`init(windowNibName:)`](/documentation/AppKit/NSWindowController/init(windowNibName:)) or [`init(windowNibName:owner:)`](/documentation/AppKit/NSWindowController/init(windowNibName:owner:)) was used, [`windowNibPath`](/documentation/AppKit/NSWindowController/windowNibPath) locates the nib in the file’s owner’s class’ bundle or in the application’s main bundle and returns the full path (or `nil` if it cannot be located). Subclasses can override this behavior to augment the search behavior, but probably ought to call `super` first.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)