views:

205

answers:

2

What makes scrolling so choppy on the UITableView when images are loaded? Is it because they need to be added as subviews? Or is it because images need to be cached? Both?

+1  A: 

Because they're added as subviews, and it's a lot of work to draw subviews as they have to be composited. Even more so when Core Graphics or Core Animation is drawing multiple cells with these subviews.

Loren Brichter (atebits) explains it better.

BoltClock
A: 

Honestly, I'm not sure what to answer.

What I know, is that when I have a really "heavy" UITableView, and need it to scroll fast, I use the method from the creator of Tweetie:

http://blog.atebits.com/2008/12/fast-scrolling-in-tweetie-with-uitableview/

Never found a better way than this one.

camilo
please don't add links to your apps or a signature to your answers
iWasRobbed
Thanks for taking the time to make that request. I am pleased to remove my signature. Best regards.
camilo