• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
RE: What is the preferred aynchronous data load using a common protocol like HTTP?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >What is the preferred aynchronous data load using a common protocol like HTTP? (From: "Lee, Frederick" <email@hidden>)
 >Re: What is the preferred aynchronous data load using a common protocol like HTTP? (From: Scott Anguish <email@hidden>)

  • Prev by Date: Re: CFBundleIconFile: heiß or hot?
  • Next by Date: Remove an object from a defaults suite?
  • Previous by thread: Re: What is the preferred aynchronous data load using a common protocol like HTTP?
  • Next by thread: Undocumented Leopard support for overlapping sibling views
  • Index(es):
    • Date
    • Thread