Structure

NSView.DefinitionPresentationType

Presentation options for the window.

Declaration

struct DefinitionPresentationType

Topics

Presentation Values

static let dictionaryApplication: NSView.DefinitionPresentationType

A possible value of the presentationType dictionary key that invokes Dictionary application to display the definition.

static let overlay: NSView.DefinitionPresentationType

A possible value of the presentationType dictionary key that produces a small overlay window at the string location,

Relationships

See Also

Displaying Definition Windows

func showDefinition(for: NSAttributedString?, at: NSPoint)

Shows a window displaying the definition of the attributed string at the specified point.

struct NSView.DefinitionOptionKey

Keys to include in your definition.