Re: how to wait the finish of NSURLDownload
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