Instance Method

scrubber(_:viewForItemAt:)

Asks the data source object for the view the corresponds to the specified item in the scrubber.

Required.

Declaration

func scrubber(_ scrubber: NSScrubber, viewForItemAt index: Int) -> NSScrubberItemView

Parameters

scrubber

The scrubber requesting the view.

index

The index that specifies the location of the item in the scrubber.

Return Value

A configured item view object.