• 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
NSURLConnection Threading Behavior
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSURLConnection Threading Behavior


  • Subject: NSURLConnection Threading Behavior
  • From: "Carter R. Harrison" <email@hidden>
  • Date: Mon, 2 Jul 2007 20:55:19 -0400

This might be a silly question, but here goes anyway.
When you call either of the following messages

initWithRequest:delegate:

and

connectionWithRequest:delegate:

on a NSURLConnection, it is my understanding that the methods return a NSURLConnection, which performs the actual request in a background thread. When the request is completed, the NSURLConnection's delegate connectionDidFinishLoading: method. Does this delegate method also run in this same background thread? My guess is that this should be the case.
_______________________________________________


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: NSURLConnection Threading Behavior
      • From: Chris Suter <email@hidden>
  • Prev by Date: Cocoa Framework for accessing images on USB digital camera
  • Next by Date: Re: Setting line height exactly - fails for certain unicode chars
  • Previous by thread: Re: Cocoa Framework for accessing images on USB digital camera
  • Next by thread: Re: NSURLConnection Threading Behavior
  • Index(es):
    • Date
    • Thread