Contents

scrubber(_:didSelectItemAt:)

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

Declaration

@MainActor optional func scrubber(_ scrubber: NSScrubber, didSelectItemAt selectedIndex: Int)

Parameters

  • scrubber:

    The scrubber object that is notifying you of the selection change.

  • selectedIndex:

    The index of the item that was selected.

See Also

Handling item selection and highlighting