Protocol

NSScrubberDelegate

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

Declaration

@protocol NSScrubberDelegate

Topics

Handling Item Selection and Highlighting

scrubber:didSelectItemAtIndex:

Tells the delegate that the item at the specified index was selected.

scrubber:didHighlightItemAtIndex:

Tells the delegate that the item at the specified index was highlighted.

Handling Scrubber Scrolling

scrubber:didChangeVisibleRange:

Tells the delegate that the range of items currently visible in the scrubber has changed.

Tracking User Interaction

didBeginInteractingWithScrubber:

Tells the delegate that the user is panning or scrolling the scrubber.

didFinishInteractingWithScrubber:

Tells the delegate that a pan or scroll interaction with the scrubber has ended.

didCancelInteractingWithScrubber:

Tells the delegate that a user interaction with the scrubber has been canceled.

Relationships

Inherits From

See Also

Scrubbers

NSScrubber

A customizable item picker control for the Touch Bar.

NSScrubberDataSource

A set of methods that a scrubber data source object implements to provide items to the scrubber from an associated data collection in your app.