Re: What is the preferred aynchronous data load using a common protocol like HTTP?
Re: What is the preferred aynchronous data load using a common protocol like HTTP?
- Subject: Re: What is the preferred aynchronous data load using a common protocol like HTTP?
- From: Scott Anguish <email@hidden>
- Date: Thu, 28 Aug 2008 16:59:00 -0400
NSURLConnection without a doubt.
On 28-Aug-08, at 4:24 PM, Lee, Frederick wrote:
Greetings:
I need to continuously receive data (textual, xml format) from a
server asynchronously, in the background to the ignorance of the
end-user.
That is, to be able to retrieve a stream of xml data (loading/
processing
variables) onto the front-end until the user chooses to exit.
I'm looking for the simplest & most-efficient method to pull this off.
Should I use NSURLConnection, using delegation; or NSFileHandle/
NSTask
- perhaps within NSOperation?
This is for the latest Leopard OS: OS 10.5+.
_______________________________________________
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