i here that libxml parsing is fast and for that downloading image is a some particular way to download .
i want that method for download .
i have some code for this . like this but cant understand ..
i got code is like this ,,,
[networkQueue setRequestDidFinishSelector:@selector(imageFetchComplete:)];
[networkQueue setDelegate:self];
request =[[[ASIHTTPRequest alloc]initWithURL:[NSURL URLWithString:[objXML.District_Photo stringByAddingPercentEscapesUsingEncoding:NSStringEncodingConversionExternalRepresentation]]] autorelease];
//cell.imgCell.tag=indexPath.row+1;
request.username=[NSString stringWithFormat:@"%i",indexPath.row+1];
[networkQueue addOperation:request];
[networkQueue go];
but how it download image and how is working ..i am totaly blank about this.
Here’s the quick and dirty method:
If you want to keep using your network queuing stuff, you’ll have to do that stuff in your
imageFetchCompletemethod and use something like this: