Hi everyone,
I'd like to know how can i load an image from an url into a tableviewcell ? I tried the following code :
Code:
NSURL *url = [NSURL URLWithString:@"http://xxx.xxx.xx/xx.png"]
NSData *imageData = [NSData dataWithContentsOfURL:url];
myCell.image = [UIImage alloc] imageWithData:imageData];
the thing is when i scroll the tableview, it's getting very slow, so i think that this is not the good way to show an image from an url...? if someone can help me pleaz...
thanks