---
title: windowWillLoad()
framework: appkit
role: symbol
role_heading: Instance Method
path: appkit/nswindowcontroller/windowwillload()
---

# windowWillLoad()

Sent before the window owned by the receiver is loaded.

## Declaration

```swift
func windowWillLoad()
```

## Discussion

Discussion The default implementation does nothing.

## See Also

### Related Documentation

- [NSWindowController](appkit/nswindowcontroller.md)

### Loading and Displaying the Window

- [loadWindow()](appkit/nswindowcontroller/loadwindow().md)
- [showWindow(_:)](appkit/nswindowcontroller/showwindow(_:).md)
- [isWindowLoaded](appkit/nswindowcontroller/iswindowloaded.md)
- [window](appkit/nswindowcontroller/window.md)
- [windowDidLoad()](appkit/nswindowcontroller/windowdidload().md)
