Initializer

init(attributedName:itemSearch:)

Creates a rotor with the specified name and search block.

Declaration

init(attributedName: NSAttributedString, itemSearch itemSearchBlock: @escaping UIAccessibilityCustomRotor.Search)

Parameters

attributedName

The name of the rotor.

itemSearchBlock

The block that provides the next or previous rotor.

Return Value

An initialized rotor object.

See Also

Creating a Rotor Object