On 8 Sep 2011, at 14:30, Payal Mundhada wrote: > Hi, > I am calling this function in a thread using NSThread method from Main > thread (Handling UI) > > [NSThread detachNewThreadSelector:@selector(startDownload) toTarget:self > withObject:nil]; > > -(void)startDownload > {[myWebService makeRequest];} > > since we are downloading large data from server so NSURLConnection delegate > mentioned below is getting called continuously and meanwhile also need to > update UI, so calling the web service function itself in a saperate thread.
A Mac is plenty capable of running large downloads on the main thread asynchronously. What made you decide you shouldn't? _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com