NSURLConnection and Images Download Question?

As you have the images URL, you can use TCImageView to download and cache (in the file system) the images on demand.

As you have the images URL, you can use TCImageView to download and cache (in the file system) the images on demand. Https://github.com/totocaster/TCImageView which is a nice and simple async image component by the way. EDIT: Another good library that is worth taking a look is ASIHTTPRequest's ASINetworkQueue (which is a nice subclass of NSOperationQueue) and it makes it a very easy and robust way of performing a heavy load (350+ items) download management.

You have to use Async image downloading in order to download images and that will not disturb the flow of other code, while images will download with time. You can take help from code.google.com/p/iphone-lib/wiki/AsyncI....

Users are a lot happier with a fast launch. I would suggest putting the images in you app, the size will probably be reasonable.

You say It is very similar to what a twitter client would do and Also, since the table cells load as I scroll, scrolling down while loading the images would cause the app to load the images and terrible user experience (as well as lag). I have Twitterrific, Twitter and TweetDeck install and this is exactly what they do (ie load images as they become visible when the user scrolls). Obviously each image, if used more than once (as it probably would be in a twitter timeline) would only be downloaded once and cached.

Whether it caches or not, that's not the problem. Each cell has a unique logo. – Nayefc Jun 16 '11 at 13:51 @Nayefc, hey, no nothing wrong, only you want an app similar to twitter, but you don't think loading images as you scroll would be a good user experience, right?

But that is what you must do - that is what the twitter apps do. – hooleyhoop Jun 16 '11 at 14:05 Oh alright - well then I should rephrase my question to, how do Twitter clients do it so efficiently? Just using NSURLConnection properly?

– Nayefc Jun 16 '11 at 14:11 1 @Nayefc, ok - having thumbnail images is probably the most import factor.In the twitter app user-images are about 90x90px - as jpegs maybe NSURLConnection will handle the async download for you. – hooleyhoop Jun 16 '11 at 14:29.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions