Class

NSScrubberProportionalLayout

A concrete layout object that sizes each item to some fraction of the scrubber's visible size.

Declaration

@interface NSScrubberProportionalLayout : NSScrubberLayout

Topics

Initializing a Proprotional Layout

- initWithNumberOfVisibleItems:

Initializes and returns a newly allocated proportional layout, configured to display the given number of items.

- initWithCoder:

Initializes and returns a newly allocated proprotional layout object from a storyboard or nib file.

Configuring the Layout

numberOfVisibleItems

The number of items visible in the scrubber at once.

Relationships

Inherits From

See Also

Scrubber Layouts

NSScrubberFlowLayout

A concrete layout object that arranges items end-to-end in a linear strip.

NSScrubberFlowLayoutDelegate

A protocol that a scrubber delegate can adopt to provide the size of an item.

NSScrubberLayoutAttributes

The layout of a scrubber item.

NSScrubberLayout

An abstract class that describes the layout of items within a scrubber control.