Enumeration

NSScrubberMode

The scrolling behavior for a scrubber.

Declaration

typedef enum NSScrubberMode : NSInteger {
    ...
} NSScrubberMode;

Overview

Scrolling is either fixed or free. For details on how to choose the correct scrolling mode for your app, see Choosing a Scrubber Touch-Interaction Model.

Topics

Enumeration Cases

NSScrubberModeFixed

A scrolling mode in which scrubber items remain fixed in place, and the item under the user's finger is highlighted.

NSScrubberModeFree

A scrolling mode in which the scrubber scrolls as the user swipes horizontally across the scrubber.

See Also

Changing the Layout

scrubberLayout

An object used to describe the layout of items within the scrubber.

mode

A setting that determines whether interaction with the scrubber is fixed or free.

itemAlignment

A setting that specifies the snapping behavior of items in the scrubber.

NSScrubberAlignment

The specified preferred alignment of items within the scrubber, when they come to rest following a user’s scrolling or paging interaction.

continuous

A Boolean value that, together with the mode property, determines scrubber interaction style.