Instance Method

view(_:stringForToolTip:point:userData:)

Returns the tool tip string to be displayed due to the cursor pausing at location point within the tool tip rectangle identified by tag in the view view.

Required.

Declaration

func view(_ view: NSView, stringForToolTip tag: NSView.ToolTipTag, point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String

Discussion

userData is additional information provided by the creator of the tool tip rectangle.

See Also