Created
January 31, 2012 20:46
-
-
Save richardbuckle/1712801 to your computer and use it in GitHub Desktop.
NSTableView delegate methods to prevent tooltips
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (BOOL)tableView:(NSTableView*)tableView shouldShowCellExpansionForTableColumn:(NSTableColumn*)tableColumn row:(NSInteger)row | |
{ | |
return NO; // no tool tips | |
} | |
- (NSString*)tableView:(NSTableView*)aTableView toolTipForCell:(NSCell*)aCell rect:(NSRectPointer)rect tableColumn:(NSTableColumn*)aTableColumn row:(NSInteger)row mouseLocation:(NSPoint)mouseLocation | |
{ | |
return nil; // no tool tips | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment