---
title: NSView.ToolTipTag
framework: appkit
role: symbol
role_heading: Type Alias
path: appkit/nsview/tooltiptag
---

# NSView.ToolTipTag

This type describes the rectangle used to identify a tooltip rectangle.

## Declaration

```swift
typealias ToolTipTag = Int
```

## Discussion

Discussion If the value of this type is 0, it is invalid. See the methods addToolTip(_:owner:userData:) andremoveToolTip(_:).

## See Also

### Providing a Tool Tip

- [toolTip](appkit/nsview/tooltip.md)
- [addToolTip(_:owner:userData:)](appkit/nsview/addtooltip(_:owner:userdata:).md)
- [removeAllToolTips()](appkit/nsview/removealltooltips().md)
- [removeToolTip(_:)](appkit/nsview/removetooltip(_:).md)
