Contents

prepare()

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

Declaration

func prepare()

Discussion

Use this method in subclasses to perform layout calculations and caching in advance of rendering the scrubber.

The system calls this method when the scrubber’s layout is invalidated.

The base implementation of this method does nothing.

See Also

Subclassing a scrubber layout