Я успешно реализовал ленивую загрузку изображений в моем приложении, используя пример, представленный apple здесь. Дело в том, что я хочу, чтобы изображение загружалось по мере прокрутки, но изображение загружается в ячейку только тогда, когда я заканчиваю перетаскивание (отпустите палец с экрана. До тех пор ячейка остается пустой). Я изменил код следующим образом:
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
    //NSLog(@"cell for row at indexpath, size - %f, current - %d", flowTable.contentSize.height, self.current);
    NSString *CellIdentifier = @"FlowCell";
    MyFlowCell *cell = (MyFlowCell *)[self.flowTable dequeueReusableCellWithIdentifier:CellIdentifier];
    if (cell == nil) {
        NSArray *nib = [[NSBundle mainBundle] loadNibNamed:@"FlowCell" owner:nil options:nil];
       // cell = [nib objectAtIndex:0];
        for(id currentObject in nib)
        {
        if([currentObject isKindOfClass:[MyFlowCell class]])
        {
            cell = (MyFlowCell *)currentObject;
            break;
        }
        }
    }
    ImageDetails *rowItem = [self.imageData objectAtIndex:indexPath.row];
    if (!rowItem.mainImage)
    {  
       // if (self.flowTable.dragging == NO && self.flowTable.decelerating == NO)
       // {
            [self startIconDownload:rowItem forIndexPath:indexPath];
        //}
        cell.mainImage.backgroundColor = [UIColor grayColor];
    }
    else
    {
            cell.mainImage.image = rowItem.mainImage;
    }
    }
    return cell;
}
- (void)scrollViewDidEndDragging:(UIScrollView *)scrollView willDecelerate:(BOOL)decelerate
{
    if (!decelerate)
    {
      //  [self loadImagesForOnscreenRows];
    }
}
- (void)scrollViewDidEndDecelerating:(UIScrollView *)scrollView
{
    //[self loadImagesForOnscreenRows];
}
Кроме того, я узнал, что в моем классе ImageDownloader NSURLConnection даже не получает ответ, пока я не отпущу свой палец с экрана. Я пытался выяснить, почему это происходит, но я пока не добился успеха. Скажите, пожалуйста, если я что-то упустил.