• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSURLConnection vs. NSThread
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSURLConnection vs. NSThread


  • Subject: Re: NSURLConnection vs. NSThread
  • From: George Warner <email@hidden>
  • Date: Thu, 14 May 2009 20:21:11 -0700

On Thu, 14 May 2009 16:52:48 -0400, Eric E. Dolecki" <email@hidden> wrote:
Just curious, but if I am loading images into a UIImageView in table cells
from online URLs, is it better to use NSThread or use async NSURLConnection
to ensure that the scrolling is smooth while images are loaded in?


This probably depends on how long the async callback takes; more than about 1/10th of a second and it will start impacting the smoothness of the scrolling.

I'd write it async first and if the scrolling isn't smooth I'd move it to its own thread.
--
Enjoy,
George Warner,
Schizophrenic Optimization Scientist
Apple Developer Technical Support (DTS)


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSURLConnection vs. NSThread
      • From: "Eric E. Dolecki" <email@hidden>
  • Prev by Date: Re: Class Singleton Instantiation
  • Next by Date: Re: NSCFArray autoreleased with no pool in place
  • Previous by thread: Re: NSURLConnection vs. NSThread
  • Next by thread: Re: NSURLConnection vs. NSThread
  • Index(es):
    • Date
    • Thread