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

# invalidateFlowLayoutAttributes

A Boolean value indicating whether the flow layout object should invalidate its current attributes.

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

## Discussion

Setting this property to <doc://com.apple.documentation/documentation/Swift/false> tells the flow layout object to keep its existing layout information, effectively stopping the invalidation process. Typically, you set this property to <doc://com.apple.documentation/documentation/Swift/false> only if you subclass [`NSCollectionViewFlowLayout`](/documentation/AppKit/NSCollectionViewFlowLayout) and update changed layout information directly.

The default value of this property is <doc://com.apple.documentation/documentation/Swift/true>, which causes the flow layout object to throw out its existing layout information and recompute it.

---

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)