Initializer

init(targetElement:targetRange:)

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

Declaration

init(targetElement: 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.