---
title: "init(forItemAt:)"
framework: appkit
role: symbol
role_heading: Initializer
path: "appkit/nsscrubberlayoutattributes/init(foritemat:)"
---

# init(forItemAt:)

Creates a new layout attributes object for the specified scrubber item index.

## Declaration

```swift
convenience init(forItemAt index: Int)
```

## Parameters

- `index`: The index of the scrubber item that this layout attributes object represents.

## Return Value

Return Value A layout attributes object configured for the specified index.
