Tableview lags, and glitches while scrolling due to images loading in each cell

Posted by Luis Tovar on Stack Overflow See other posts from Stack Overflow or by Luis Tovar
Published on 2010-04-02T22:39:15Z Indexed on 2010/04/02 22:43 UTC
Read the original article Hit count: 371

Filed under:
|
|
|
|

Hey Guys! Me again! Can someone provide me with some example code of how to properly load images in a tablecell without making the tableview glitch while scrolling. For example if you look at fandago's app, when scrolling through their movies you can see that the image is loaded asynchronously so that the scroll isnt jumping, lagging, or glitchy. Thanks in advance. Right now I have the images loading just fine but it is glitchy as i scroll because the images are loading on main thread. I am creating an app very similar to fandango.

PS I am downloading these images via xml. (you know what i mean)

Thanks!!

© Stack Overflow or respective owner

Related posts about iphone-sdk

Related posts about uitableview