tmdvs/TDBadgedCell

Scrolling Performance

dlinsin opened this issue · 2 comments

As soon as scrolling is involved, using TDBadgedCell, it becomes jittery and doesn't feel smooth. Using instruments to profiling Core Animation (Color Blended Layers), you can see, that TDBadgedCell doesn't really blend well. Looking through the source code, I don't actually see why Core Animation cannot blend it. You custom draw your contentView, so it shouldn't be a problem, right?

I've have done multiple tests with hundreds of rows and had no jitters as of yet. Are you reusing cells?

In fact everything is core graphics too so its not as if its a constant drawing issue. I'll have a look into this as with multiple contributors drawing code may well have deviated slightly from what I originally wrote.

Yes, I am reusing cells and I cannot really understand myself where the jitter comes from. All I know is that when I replace TDBadgedCell with UITableViewCell the jitter is gone. It might be just my particular way of customizing UITableViewCell that has this problem.

with kind regards,

David Linsin


// web: http://dlinsin.github.com

On May 12, 2011, at 12:27 AM, tmdvs wrote:

I've have done multiple tests with hundreds of rows and had no jitters as of yet. Are you reusing cells?

Reply to this email directly or view it on GitHub:
#9 (comment)