Enumeration

NSScrubberAlignment

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

Declaration

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

Overview

For details on how to choose the right alignment option for your app, see Choosing a Scrubber Touch-Interaction Model.

Topics

Enumeration Cases

NSScrubberAlignmentCenter

Center alignment of items within the scrubber.

NSScrubberAlignmentLeading

Leading alignment of items within the scrubber.

NSScrubberAlignmentNone

No preference for item alignment.

NSScrubberAlignmentTrailing

Trailing alignment of items within 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.

NSScrubberMode

The scrolling behavior for a scrubber.

itemAlignment

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

continuous

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