Instance Property

shouldInvalidateLayoutForSelectionChange

Determines whether the scrubber should refresh its layout when the selection changes.

Declaration

@property(readonly) BOOL shouldInvalidateLayoutForSelectionChange;

Discussion

If YES, the scrubber invalidates its layout when the selection changes. Subclasses should return YES if the selection index affects the item layout.

The base implementation returns NO.

See Also

Subclassing a Scrubber Layout

- prepareLayout

Gives you an opportunity to perform layout calculations when the scrubber's layout is invalidated.

scrubberContentSize

The size required to contain all elements within the scrubber.

- layoutAttributesForItemAtIndex:

The layout attributes for the item with the specified index.

- layoutAttributesForItemsInRect:

The set of layout attributes for all items within the provided rectangle.

shouldInvalidateLayoutForHighlightChange

Determines whether the scrubber should refresh its layout when an item is highlighted.

- shouldInvalidateLayoutForChangeFromVisibleRect:toVisibleRect:

Determines whether the scrubber should refresh its layout in response to a change of its visible region.

automaticallyMirrorsInRightToLeftLayout

Determines whether the scrubber mirrors its layout for right-to-left layouts.