• 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: UITable Views and display lags / NSOperation vs NSURLConnection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UITable Views and display lags / NSOperation vs NSURLConnection


  • Subject: Re: UITable Views and display lags / NSOperation vs NSURLConnection
  • From: Jack Carbaugh <email@hidden>
  • Date: Sun, 21 Mar 2010 14:06:42 -0400

NSURLConnection does this as well. The main issue i had with using an NSOperation/OperationQueue was that is was "serial" ... using the NSURLConnection allowed me to handle MULTIPLE asynchronous downloads which, when used with properties allowed near instantaneous UI updates.

With the NSOperation avenue, it took longer, UI updates were not as fast as the queue would handle only one operation at a time, in series.

For me, the NSURLConnection route was just better for my specific needs and, i think may be as well for the OP.

jack

On Mar 21, 2010, at 1:53 PM, WT wrote:

On Mar 21, 2010, at 6:25 PM, Jack Carbaugh wrote:

You don't need to overcomplicate downloading the images with an NSOperation.

In my experience, downloading asynchronously with an NSURLConnection and the delegate methods works far better.

Jack

I don't think using NSOperation is overcomplicating things. It's entirely trivial to use it and, as far as I know, NSOperationQueue takes care of scheduling the threads to make the best use of the resources available.


W.=

_______________________________________________

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: UITable Views and display lags / NSOperation vs NSURLConnection
      • From: WT <email@hidden>
    • Re: UITable Views and display lags / NSOperation vs NSURLConnection
      • From: Michael Davey <email@hidden>
References: 
 >Re: UITable Views and display lags (From: Matt Neuburg <email@hidden>)
 >Re: UITable Views and display lags (From: Jack Carbaugh <email@hidden>)
 >Re: UITable Views and display lags (From: WT <email@hidden>)

  • Prev by Date: Re: Test for debug vs release
  • Next by Date: iPhone search of my app's data?
  • Previous by thread: Re: UITable Views and display lags
  • Next by thread: Re: UITable Views and display lags / NSOperation vs NSURLConnection
  • Index(es):
    • Date
    • Thread