Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

abcdefg12345

macrumors 6502
Original poster
Jul 10, 2013
281
86
Hello

I'm trying to display a description when the cursor goes over a button like the one that shows in apple's calculator app, anyone knows how to do that.

Screen Shot 2015-02-12 at 2.27.59 am.png

thanks
 
The image appears to show a tool tip.
You can add a tool tip to any view (class that inherits from NSView) by calling -setToolTip:. You could also set the tool tip directly in the xib/nib file.
 
The image appears to show a tool tip.
You can add a tool tip to any view (class that inherits from NSView) by calling -setToolTip:. You could also set the tool tip directly in the xib/nib file.

thats exactly what i was looking for, thanks
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.