Contents

lookup(_:)

Presents a dictionary definition for the selected content.

Declaration

optional func lookup(_ sender: Any?)

Parameters

  • sender:

    The object calling this method.

Discussion

To present the standard system UI for showing a dictionary definition, call showDictionary(forTextInContext:definingTextInRange:from:) in your implementation of this method.

See Also

Defining and sharing text