<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSWindow/didMoveNotification",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@NSWindowDidMoveNotification"
  },
  "title" : "didMoveNotification"
}
-->

# didMoveNotification

A notification that the window object moved.

```
class let didMoveNotification: NSNotification.Name
```

## Discussion

The notification object is the `NSWindow` object that has moved. This notification doesn’t contain a `userInfo` dictionary.

> Note:
> The system sends this notification when the window that moved didn’t also change size. See ``doc://com.apple.appkit/documentation/AppKit/NSWindow/didResizeNotification`` for more information.

To observe this notification using Swift concurrency, use [`NSWindow.DidMoveMessage`](/documentation/AppKit/NSWindow/DidMoveMessage).

---

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)