Initializer

init(name:itemSearch:)

Creates a rotor with the specified name and search block.

Declaration

init(name: String, itemSearch itemSearchBlock: @escaping UIAccessibilityCustomRotor.Search)

Parameters

name

The name of the rotor.

itemSearchBlock

The block that provides the next or previous rotor.

Return Value

An initialized rotor object.

See Also