Instance Method

removeAllToolTips()

Removes all tooltips assigned to the view.

Declaration

func removeAllToolTips()

Discussion

This method operates on tooltips created using either addToolTip(_:owner:userData:) or set using the toolTip property.

See Also

Tooltips

func addToolTip(NSRect, owner: Any, userData: UnsafeMutableRawPointer?) -> NSView.ToolTipTag

Creates a tooltip for a defined area the view and returns a tag that identifies the tooltip rectangle.

func removeToolTip(NSView.ToolTipTag)

Removes the tooltip identified by specified tag.

var toolTip: String?

The text for the view’s tooltip.