<!--
{
  "availability" : [
    "macOS: 10.12.2 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSScrubberFlowLayout/invalidateLayoutForItems(at:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSScrubberFlowLayout(im)invalidateLayoutForItemsAtIndexes:"
  },
  "title" : "invalidateLayoutForItems(at:)"
}
-->

# invalidateLayoutForItems(at:)

Informs the scrubber that it should perform a new layout pass for the items at the specified indexes.

```
func invalidateLayoutForItems(at invalidItemIndexes: IndexSet)
```

## Parameters

`invalidItemIndexes`

An index set containing the indexes of the items whose layout should be invalidated.

---

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)