Initializer

init(numberOfVisibleItems:)

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

Declaration

init(numberOfVisibleItems: Int)

Parameters

numberOfVisibleItems

The number of items that should be visible in the scrubber at once.

Return Value

A properly initialized proportional layout object.

See Also

Initializing a Proprotional Layout

init(coder: NSCoder)

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