• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Customised NSCell leaves dirty traces while scrolling
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: Customised NSCell leaves dirty traces while scrolling (From: Josh Yu <email@hidden>)

  • Prev by Date: Re: NSString/NSFont/Dingbats and the SnowFlake symbol
  • Next by Date: Re: NSString/NSFont/Dingbats and the SnowFlake symbol
  • Previous by thread: Re: Customised NSCell leaves dirty traces while scrolling
  • Next by thread: Re: Help with Basics (Was: help with bindings)
  • Index(es):
    • Date
    • Thread