<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSViewToolTipOwner",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(pl)NSViewToolTipOwner"
  },
  "title" : "NSViewToolTipOwner"
}
-->

# NSViewToolTipOwner

A set of methods for dynamically associating a tool tip with a view.

```
protocol NSViewToolTipOwner : NSObjectProtocol
```

## Overview

Tool tips are hints displayed to the user when the mouse hovers over a view. Adopt this protocol in views for which you want to provide tool tips. If the view does not implement this protocol, the system uses the <doc://com.apple.documentation/documentation/ObjectiveC/NSObjectProtocol/description> method instead.

## Topics

### Obtaining Tool Tip Strings

[`func view(NSView, stringForToolTip: NSView.ToolTipTag, point: NSPoint, userData: UnsafeMutableRawPointer?) -> String`](/documentation/AppKit/NSViewToolTipOwner/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`.

## Relationships

### Conforming Types

[`NSForm`](/documentation/AppKit/NSForm)

[`NSTableHeaderView`](/documentation/AppKit/NSTableHeaderView)

[`NSMatrix`](/documentation/AppKit/NSMatrix)

### Inherits From

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)