• 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: distributed objects and NSURLConnection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: distributed objects and NSURLConnection


  • Subject: Re: distributed objects and NSURLConnection
  • From: j o a r <email@hidden>
  • Date: Sun, 6 Jan 2008 16:51:12 -0800


On Jan 6, 2008, at 4:15 PM, Michael Hanna wrote:

I'd like to take an array of URLs pointing to jpegs and asynchronously
download them. I thought DO would be perfect for this: create an array
of servers where each have an NSURLConnection, then they return the
chunk of data back to the client.


NSURLConnection is already an asynchronous API, so there is typically little need to use background threads - or processes.

With Leopard you might also want to consider using NSOperation and one of the old synchronous APIs.

j o a r


_______________________________________________

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: 
 >distributed objects and NSURLConnection (From: "Michael Hanna" <email@hidden>)

  • Prev by Date: distributed objects and NSURLConnection
  • Next by Date: Re:validity of a path
  • Previous by thread: distributed objects and NSURLConnection
  • Next by thread: Error executing instruction "[NSBezierPath bezierPath]"
  • Index(es):
    • Date
    • Thread