---
title: "view:stringForToolTip:point:userData:"
framework: objectivec
role: symbol
role_heading: Instance Method
path: "objectivec/nsobject-swift.class/view:stringfortooltip:point:userdata:"
---

# 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

```occ
- (NSString *) view:(NSView *) view stringForToolTip:(NSToolTipTag) tag point:(NSPoint) point userData:(void *) data;
```

## Discussion

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

## See Also

### Related Documentation

- [Online Help](apple-archive/documentation/Cocoa/Conceptual/OnlineHelp.md)
- [addToolTip(_:owner:userData:)](appkit/nsview/addtooltip(_:owner:userdata:).md)
