---
title: scrubber
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsscrubberlayout/scrubber
---

# scrubber

The scrubber control that this layout is assigned to.

## Declaration

```swift
weak var scrubber: NSScrubber? { get }
```

## Discussion

Discussion If this layout is not currently assigned to a scrubber control, the value of this property is nil.

## See Also

### Configuring a scrubber layout

- [layoutAttributesClass](appkit/nsscrubberlayout/layoutattributesclass.md)
- [visibleRect](appkit/nsscrubberlayout/visiblerect.md)
- [invalidateLayout()](appkit/nsscrubberlayout/invalidatelayout().md)
