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

# layoutAttributesForItem(at:)

The layout attributes for the item with the specified index.

```
func layoutAttributesForItem(at index: Int) -> NSScrubberLayoutAttributes?
```

## Discussion

The base implementation returns `nil`.

---

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)