---
title: NSScrubberDelegate
framework: appkit
role: symbol
role_heading: Protocol
path: appkit/nsscrubberdelegate
---

# NSScrubberDelegate

A set of methods that a scrubber delegate implements to respond to user interactions.

## Declaration

```swift
protocol NSScrubberDelegate : NSObjectProtocol
```

## Topics

### Handling item selection and highlighting

- [scrubber(_:didSelectItemAt:)](appkit/nsscrubberdelegate/scrubber(_:didselectitemat:).md)
- [scrubber(_:didHighlightItemAt:)](appkit/nsscrubberdelegate/scrubber(_:didhighlightitemat:).md)

### Handling scrubber scrolling

- [scrubber(_:didChangeVisibleRange:)](appkit/nsscrubberdelegate/scrubber(_:didchangevisiblerange:).md)

### Tracking user interaction

- [didBeginInteracting(with:)](appkit/nsscrubberdelegate/didbegininteracting(with:).md)
- [didFinishInteracting(with:)](appkit/nsscrubberdelegate/didfinishinteracting(with:).md)
- [didCancelInteracting(with:)](appkit/nsscrubberdelegate/didcancelinteracting(with:).md)

## Relationships

### Inherits From

- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

### Inherited By

- [NSScrubberFlowLayoutDelegate](appkit/nsscrubberflowlayoutdelegate.md)

## See Also

### Scrubbers

- [NSScrubber](appkit/nsscrubber.md)
- [NSScrubberDataSource](appkit/nsscrubberdatasource.md)
