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.
Declaration
@MainActor func view(_ view: NSView, stringForToolTip tag: NSView.ToolTipTag, point: NSPoint, userData data: UnsafeMutableRawPointer?) -> StringDiscussion
userData is additional information provided by the creator of the tool tip rectangle.
See Also
Related Documentation
- Online Help
addToolTip(_:owner:userData:)