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: "Lee, Frederick" <email@hidden>
- Date: Thu, 28 Aug 2008 17:02:22 -0400
- Thread-topic: What is the preferred aynchronous data load using a common protocol like HTTP?
I thought so!
The Cocoa frameworks offer so many variants such as offering NSOperation
for
autonomous threads, etc.
I just want to keep it simple: request data and let the data flow.
Ric.
-----Original Message-----
From: Scott Anguish [mailto:email@hidden]
Sent: Thursday, August 28, 2008 3:59 PM
To: Lee, Frederick
Cc: email@hidden
Subject: Re: What is the preferred aynchronous data load using a common
protocol like HTTP?
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