---
title: frameDidChangeNotification
framework: appkit
role: symbol
role_heading: Type Property
path: appkit/nsview/framedidchangenotification
---

# frameDidChangeNotification

A notification that posts when the view’s frame rectangle changes to a new value.

## Declaration

```swift
class let frameDidChangeNotification: NSNotification.Name
```

## Discussion

Discussion This notification posts only when the view’s postsFrameChangedNotifications property is true. The notification object is the NSView object whose frame rectangle has changed. This notification does not contain a userInfo dictionary. The following methods can result in notification posting: frame setFrameOrigin(_:) frameRotation setFrameSize(_:) To observe this notification using Swift concurrency, use NSView.FrameDidChangeMessage.

## See Also

### Modifying the Frame Rectangle

- [frame](appkit/nsview/frame.md)
- [setFrameOrigin(_:)](appkit/nsview/setframeorigin(_:).md)
- [setFrameSize(_:)](appkit/nsview/setframesize(_:).md)
- [frameRotation](appkit/nsview/framerotation.md)
- [postsFrameChangedNotifications](appkit/nsview/postsframechangednotifications.md)
