I wanted to know something that I found regarding tableviews. I have UITableView whose items are being generated dynamically, means rows. Now whenever I scroll UITableView to end and stretch the scroll up and release it (u know iPhone style), my cellForRowAtIndexPath gets called. I noticed this because I had my NSLog there. Does this happen normally?
Actually, thing is I am also lazy loading image for UIImageView in each row inside tis method, so I think because of this my lazy loader is also getting called and I don’t want this.
This is a normal behaviour. The method
cellForRowAtIndexPathis getting called for the new rows which are now visible. This makes the whole table more responsive, because it does not have to render all the rows at same time.