Protocol

NSScrubberFlowLayoutDelegate

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

Declaration

@protocol NSScrubberFlowLayoutDelegate

Overview

This protocol conforms to the NSScrubberDelegate protocol. Create an object that conforms to NSScrubberFlowLayoutDelegate and assign it to the delegate property of your scrubber object.

Topics

Controlling the Item Size

- scrubber:layout:sizeForItemAtIndex:

Asks the delegate for the size of each item in a scrubber whose items are arranged in a flow layout.

Relationships

Inherits From

See Also

Scrubber Layouts

NSScrubberFlowLayout

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

NSScrubberProportionalLayout

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

NSScrubberLayoutAttributes

The layout of a scrubber item.

NSScrubberLayout

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