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

# postsFrameChangedNotifications

A Boolean value indicating whether the view posts notifications when its frame rectangle changes.

```
var postsFrameChangedNotifications: Bool { get set }
```

## Discussion

When the value of this property is <doc://com.apple.documentation/documentation/Swift/true> and the view’s frame rectangle changes to a new value, the view posts a [`frameDidChangeNotification`](/documentation/AppKit/NSView/frameDidChangeNotification) to the default notification center. The notification is not posted when you set the frame rectangle to the value it already has. The default value of this property is <doc://com.apple.documentation/documentation/Swift/true>.

If the value of this property is currently <doc://com.apple.documentation/documentation/Swift/false> and and the frame has changed, changing the value to <doc://com.apple.documentation/documentation/Swift/true> causes the view to post a [`frameDidChangeNotification`](/documentation/AppKit/NSView/frameDidChangeNotification) notification immediately. This happens even when there has been no net change in the view’s frame rectangle.

The following methods and properties can trigger a frame change notification:

- [`frame`](/documentation/AppKit/NSView/frame)
- [`setFrameOrigin(_:)`](/documentation/AppKit/NSView/setFrameOrigin(_:))
- [`setFrameSize(_:)`](/documentation/AppKit/NSView/setFrameSize(_:))
- [`frameRotation`](/documentation/AppKit/NSView/frameRotation)

---

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)