Re: weird bug or feature?
Re: weird bug or feature?
- Subject: Re: weird bug or feature?
- From: Jens Alfke <email@hidden>
- Date: Sun, 22 Jun 2008 09:26:08 -0700
On 22 Jun '08, at 8:41 AM, William Squires wrote:
If I hover the mouse over the content region of the NSTableVIew, a
spurious tableView:objectValueForColumn:row shows up in the console
log (note that I'm not clicking on anything, just hovering the mouse
over the NSTableView)
I'd guess this is due to the Leopard feature that shows the entire
cell contents in a tooltip-like floating view after you've hovered
over the cell for a second. It has to get the cell contents and then
measure the pixel width to see if it fits in the cell, before deciding
to show the expansion view.
(Remember, the table never remembers the contents of any table cells!
Any time it has to get the value in a cell, it asks your data source
for it. That's what makes NSTableView scalable to millions of rows.
Don't worry about it; it's a feature.)
—Jens
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden