• 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: an0 <email@hidden>
  • Date: Wed, 25 Jun 2008 23:02:41 +0800

So it forces me to keep all the fired NSURLConnections, right?
Otherwise, I can't tell which is which in my delegate methods.

On Wed, Jun 25, 2008 at 10:57 PM, I. Savant <email@hidden> wrote:
> 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: "I. Savant" <email@hidden>
References: 
 >Is it possible for several NSURLConnection instances to share one delegate? (From: Ling Wang <email@hidden>)
 >Re: Is it possible for several NSURLConnection instances to share one delegate? (From: "I. Savant" <email@hidden>)

  • Prev by Date: Re: Giving focus to a specific text field after pressing a button
  • Next by Date: how to save keyboard shortcuts?
  • Previous by thread: Re: 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