Contents

init(targetElement:targetRange:)

Creates a rotor item result from the specified target element and text range.

Declaration

init(targetElement: any NSObjectProtocol, targetRange: UITextRange?)

Parameters

  • targetElement:

    The target element of the rotor.

  • targetRange:

    The text range for an element that contains text, such as a text view.

Return Value

An initialized rotor item result.