• 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: 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


  • Follow-Ups:
    • RE: What is the preferred aynchronous data load using a common protocol like HTTP?
      • From: "Lee, Frederick" <email@hidden>
References: 
 >What is the preferred aynchronous data load using a common protocol like HTTP? (From: "Lee, Frederick" <email@hidden>)

  • Prev by Date: Re: Convert unicode string into ascii
  • Next by Date: Re: CFBundleIconFile: heiß or hot?
  • Previous by thread: What is the preferred aynchronous data load using a common protocol like HTTP?
  • Next by thread: RE: What is the preferred aynchronous data load using a common protocol like HTTP?
  • Index(es):
    • Date
    • Thread