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

# windowWillLoad()

Sent before the window owned by the receiver is loaded.

```
func windowWillLoad()
```

## Discussion

The default implementation does nothing.

## See Also

[`class NSWindowController`](/documentation/AppKit/NSWindowController)

A controller that manages a window, usually a window stored in a nib file.



---

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)