Contents

numberOfItems(for:)

Asks the data source for the number of items in the scrubber.

Declaration

@MainActor func numberOfItems(for scrubber: NSScrubber) -> Int

Parameters

  • scrubber:

    The scrubber whose item count is being requested.

Return Value

The number of items in the scrubber.