---
title: "windowDidResize(_:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nswindowdelegate/windowdidresize(_:)"
---

# windowDidResize(_:)

Tells the delegate that the window has been resized.

## Declaration

```swift
@MainActor optional func windowDidResize(_ notification: Notification)
```

## Parameters

- `notification`: A notification named doc://com.apple.appkit/documentation/AppKit/NSWindow/didResizeNotification.

## Discussion

Discussion You can retrieve the window object in question by sending object to notification.

## See Also

### Sizing Windows

- [windowWillResize(_:to:)](appkit/nswindowdelegate/windowwillresize(_:to:).md)
- [windowWillStartLiveResize(_:)](appkit/nswindowdelegate/windowwillstartliveresize(_:).md)
- [windowDidEndLiveResize(_:)](appkit/nswindowdelegate/windowdidendliveresize(_:).md)
