Enumeration

NSScrubber.Alignment

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

Declaration

enum Alignment : Int

Overview

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

Topics

Enumeration Cases

case center

Center alignment of items within the scrubber.

case leading

Leading alignment of items within the scrubber.

case none

No preference for item alignment.

case trailing

Trailing alignment of items within the scrubber.

See Also

Changing the Layout

var scrubberLayout: NSScrubberLayout

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

var mode: NSScrubber.Mode

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

enum NSScrubber.Mode

The scrolling behavior for a scrubber.

var itemAlignment: NSScrubber.Alignment

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

var isContinuous: Bool

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