Re: Customised NSCell leaves dirty traces while scrolling
Re: Customised NSCell leaves dirty traces while scrolling
- Subject: Re: Customised NSCell leaves dirty traces while scrolling
- From: Jerry Krinock <email@hidden>
- Date: Wed, 24 Nov 2010 11:30:03 -0800
On 2010 Nov 24, at 01:08, Josh Yu wrote:
> Problem solved.
>
> NEVER return float to heightOfRow - this will mess the whole table up.
> Not sure if it's a cocoa bug - but return integer at all times.
I presume you're speaking of the value returned by the delegate method -tableView:heightOfRow:.
I had this problem also, and fixed it a couple months ago by fussing around, not understanding what I actually did. However, today I added a statement to log if -tableView:heightOfRow: ever returned a number with a nonzero fractional part. It never does. So I agree with you on this.
_______________________________________________
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