Contents

shouldInvalidateLayoutForSelectionChange

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

Declaration

var shouldInvalidateLayoutForSelectionChange: Bool { get }

Discussion

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

The base implementation returns false.

See Also

Subclassing a scrubber layout