RE: NSURLDownload delegate methods seperate thread
RE: NSURLDownload delegate methods seperate thread
- Subject: RE: NSURLDownload delegate methods seperate thread
- From: Colin Deasy <email@hidden>
- Date: Tue, 8 Sep 2009 19:36:43 +0000
- Importance: Normal
Well I did try that but there were no callbacks. That is I initiated the download in the start method of an NSOperation.
> Subject: Re: NSURLDownload delegate methods seperate thread
> From: email@hidden
> Date: Tue, 8 Sep 2009 13:17:55 -0600
> CC: email@hidden
> To: email@hidden
>
> On Sep 8, 2009, at 1:03 PM, Colin Deasy wrote:
>
> > Hey,
> > Is anyone aware of a way to receive NSURLDownload's delegate methods
> > on a separate thread, i.e. not the main one?
>
> "Delegate messages will be sent on the thread which calls this method."
>
> So, start your NSURLDownload on whichever thread you want the delegate
> methods to be called on.
>
_________________________________________________________________
Share your memories online with anyone you want.
http://www.microsoft.com/ireland/windows/windowslive/products/photos-share.aspx?tab=1_______________________________________________
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