Re: bug in PhotoSearch
Re: bug in PhotoSearch
- Subject: Re: bug in PhotoSearch
- From: Corbin Dunn <email@hidden>
- Date: Fri, 25 Jul 2008 16:38:53 -0700
On Jul 25, 2008, at 3:52 PM, email@hidden wrote:
corbin,
i think there is another bug in PhotoSearch. in TrackableOutlineView
mouseEntered, the call to [iMouseCell mouseEntered:] should be
outside the if block that sets iMouseCell if needed.
If you have multiple tracking areas per cell, then yes, that probably
is required. sounds like a good fix!
also, is there a specific reason for caching the cell in iMouseCell?
i've done away with the caching in my app (and thus also don't have
to override preparedCellAtColumn:row:), and now all my problems have
gone away? my guess is that u were caching the cell for performance
reasons... is that correct? or am i opening myself up for a future
problem?
Yes; tableview uses a single cell to "stamp" out each row in a given
column. you might have trouble with the properties getting set if
something else triggers that cell on a different row to redraw while
the mouse is over the current cell.
corbin
_______________________________________________
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