• 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: how to wait the finish of NSURLDownload
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to wait the finish of NSURLDownload


  • Subject: Re: how to wait the finish of NSURLDownload
  • From: Andrew Farmer <email@hidden>
  • Date: Thu, 17 Apr 2008 00:06:16 -0700

On 16 Apr 08, at 23:41, Ken Thomases wrote:
On the other hand, you should consider if you really want/need to synchronize on the download. Blocking your main thread for an indefinite wait seems likely to cause poor user experience. Even if your server is _usually_ quick to serve the file, it may sometimes be slow -- perhaps _very_ slow -- due to forces outside your control or the user's control.

Indeed. Applications which freeze when your network connection is down are no fun, and the NSURL* classes make it super-easy for you to implement asynchronous resource loading.
_______________________________________________


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


References: 
 >how to wait the finish of NSURLDownload (From: xiaobin <email@hidden>)
 >Re: how to wait the finish of NSURLDownload (From: Ken Thomases <email@hidden>)

  • Prev by Date: Re: how to wait the finish of NSURLDownload
  • Next by Date: Menu validation problem with Font Manager menu items
  • Previous by thread: Re: how to wait the finish of NSURLDownload
  • Next by thread: Re: how to wait the finish of NSURLDownload
  • Index(es):
    • Date
    • Thread