---
title: windowControllers
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsdocument/windowcontrollers
---

# windowControllers

The document’s current window controllers.

## Declaration

```swift
var windowControllers: [NSWindowController] { get }
```

## Discussion

Discussion The value of this property is an array of NSWindowController objects belonging to the current document. If there are no window controllers, the value is an empty array object.

## See Also

### Creating and Managing Window Controllers

- [makeWindowControllers()](appkit/nsdocument/makewindowcontrollers().md)
- [addWindowController(_:)](appkit/nsdocument/addwindowcontroller(_:).md)
- [removeWindowController(_:)](appkit/nsdocument/removewindowcontroller(_:).md)
- [windowNibName](appkit/nsdocument/windownibname.md)
- [windowControllerDidLoadNib(_:)](appkit/nsdocument/windowcontrollerdidloadnib(_:).md)
- [windowControllerWillLoadNib(_:)](appkit/nsdocument/windowcontrollerwillloadnib(_:).md)
- [shouldCloseWindowController(_:delegate:shouldClose:contextInfo:)](appkit/nsdocument/shouldclosewindowcontroller(_:delegate:shouldclose:contextinfo:).md)
