• 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: How to get NSURL* form NSURLConnection?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to get NSURL* form NSURLConnection?


  • Subject: Re: How to get NSURL* form NSURLConnection?
  • From: Laurent Cerveau <email@hidden>
  • Date: Mon, 24 Mar 2008 22:39:30 +0100

Hi Rob

Thanks for the answer. Unfortunately I do not see the points of getting the NSURLRequest. For example if I implement the delegate method

- (void)connectionDidFinishLoading:(NSURLConnection *)connection;

there is no NSURLRequest here (and no request accessor on the NSURLConnection) . Same issue with didFail delegate method. My problem is that I have to manage something like 1000 connections and just being able to not have to remember fro which URL there were would simply be nice

Or do I miss something here?


laurent

On Mar 24, 2008, at 10:27 PM, Rob Napier wrote:

You get the URL out of the NSURLRequest, which you can fetch at various points.

-Rob

On Mon, Mar 24, 2008 at 2:02 PM, Laurent Cerveau <email@hidden> wrote:
Hi


When using NSURLConnection is  there a way to get back the NSURL from
the NSURLConnection (in a delegate method)? Apparently if I log the
NSURLConnection it knows what URL is concerned but I do not find an
accessor for it.


--
Rob Napier -- Software and Security Consulting -- http://robnapier.net
"Those who would give up essential liberty to purchase a little temporary safety, deserve neither liberty nor safety." -- B. Franklin, Printer

_______________________________________________

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: How to get NSURL* form NSURLConnection?
      • From: Jens Alfke <email@hidden>
    • Re: How to get NSURL* form NSURLConnection?
      • From: "Rob Napier" <email@hidden>
References: 
 >How to get NSURL* form NSURLConnection? (From: Laurent Cerveau <email@hidden>)
 >Re: How to get NSURL* form NSURLConnection? (From: "Rob Napier" <email@hidden>)

  • Prev by Date: Re: Communications between multiple NIB's
  • Next by Date: Re: Garbage collection - was Beginner with Cocoa
  • Previous by thread: Re: How to get NSURL* form NSURLConnection?
  • Next by thread: Re: How to get NSURL* form NSURLConnection?
  • Index(es):
    • Date
    • Thread