• 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: Thu, 26 Jun 2008 22:12:13 +0800

Thank you all. I am going to try what I've learnt from this thread:)

On Thu, Jun 26, 2008 at 12:01 AM, I. Savant <email@hidden> wrote:
>> Just to mention, the natural approach would be a dictionary whose
>> keys are connection objects with a value being a request, or maybe
>> another dictionary with several pieces of info about a connection.
>> The problem is that you can't use NSURLConnection objects as keys
>> because they aren't copyable.  For that, I recommend using [NSValue
>> valueWithNonretainedObject:aConnection] as the key.
>
>  I like Jens' approach better than the on-the -spot solution I concocted. ;-)
>
> --
> 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

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>)
 >Re: Is it possible for several NSURLConnection instances to share one delegate? (From: an0 <email@hidden>)
 >Re: Is it possible for several NSURLConnection instances to share one delegate? (From: "I. Savant" <email@hidden>)
 >Re: Is it possible for several NSURLConnection instances to share one delegate? (From: Ken Thomases <email@hidden>)
 >Re: Is it possible for several NSURLConnection instances to share one delegate? (From: "I. Savant" <email@hidden>)

  • Prev by Date: Re: creating 2D graphs
  • Next by Date: Re: Prevent Asynchronous operation of beginSheetModalForWindow
  • 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