Refreshing a UITableView
        Posted  
        
            by MihaiD
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by MihaiD
        
        
        
        Published on 2009-06-19T11:17:56Z
        Indexed on 
            2010/06/15
            2:52 UTC
        
        
        Read the original article
        Hit count: 383
        
I have a UITableView subclass and a UITableViewCell sublass that I'm using for cells. I'm bulding all my cells in advance and store them in an array from where I use them in cellForRowAtIndexPath. Aside from this I have a thread that loads some images in each cell, in the background. The problem is that the cells don't get refreshed as fast as the images are loaded. For example, if I don't scroll my table view, the first cells only get refreshed when all cells have been modified and the thread has exited.
Any ideas on how I can effectively refresh my tableview/cell?
© Stack Overflow or respective owner