ToolTips

ToolTips are short messages that appear when the mouse pointer rests for a moment above a user interface element, shown in Figure 20.2. They disappear when the mouse is moved again. A ToolTip is usually a short phrase that helps identify a control and does not provide any in-depth information. Interface Builder offers direct support for ToolTips, and that support is often sufficient. Cocoa also provides some APIs to handle more complex situations.

Figure 20.2. ToolTips display short identifying phrases.

Using Interface Builder to Set ToolTips

As with comprehensive help, Cocoa makes it possible to use ToolTips without writing any code ...

Get Cocoa® Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.