<!--
{
  "availability" : [
    "macOS: 12.0.0 -",
    "swift: 5.1.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSViewInvalidating/intrinsicContentSize",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "s:6AppKit18NSViewInvalidatingPAASo0C0CAAE13InvalidationsO20IntrinsicContentSizeVRszrlE09intrinsicgH0AIvpZ"
  },
  "title" : "intrinsicContentSize"
}
-->

# intrinsicContentSize

A change that invalidates a view’s intrinsic size.

```
static var intrinsicContentSize: NSView.Invalidations.IntrinsicContentSize { get }
```

## Discussion

Use this invalidation type to call [`invalidateIntrinsicContentSize()`](/documentation/AppKit/NSView/invalidateIntrinsicContentSize()) so that a change in property value invalidates the containing view’s intrinsic content size. This allows the constraint-based layout system to account for the change the next time it updates the layout.

---

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)