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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software