• 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: Is it possible for several NSURLConnection instances to share one delegate?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is it possible for several NSURLConnection instances to share one delegate?


  • Subject: Re: Is it possible for several NSURLConnection instances to share one delegate?
  • From: "I. Savant" <email@hidden>
  • Date: Wed, 25 Jun 2008 10:57:42 -0400

On Wed, Jun 25, 2008 at 10:17 AM, Ling Wang <email@hidden> wrote:
> I can't find a way to identify different NSURLConnection instances in the
> delegate methods, for NSURLConnection does not offer access to the
> NSURLRequest used to initialize it.

  Really? The delegate methods I see for NSURLConnection all start
with - (void)connection:(NSURLConnection *)connection .....

  Seems like the connection passes a reference to itself as the very
first argument. As to getting the NSURLRequest, why do you need to get
it from the connection? This seems like an overall design problem. See
"Creating a Connection" in this document:

http://developer.apple.com/documentation/Cocoa/Conceptual/URLLoadingSystem/Tasks/UsingNSURLConnection.html#

--
I.S.
_______________________________________________

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: Is it possible for several NSURLConnection instances to share one delegate?
      • From: an0 <email@hidden>
References: 
 >Is it possible for several NSURLConnection instances to share one delegate? (From: Ling Wang <email@hidden>)

  • Prev by Date: Re: Where can I get some examples of if() conditionals being used with string variables in Objective-C
  • Next by Date: Re: Where can I get some examples of if() conditionals being used with string variables in Objective-C
  • Previous by thread: Is it possible for several NSURLConnection instances to share one delegate?
  • Next by thread: Re: Is it possible for several NSURLConnection instances to share one delegate?
  • Index(es):
    • Date
    • Thread