• 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: NSURLConnection changing the URL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSURLConnection changing the URL


  • Subject: Re: NSURLConnection changing the URL
  • From: "Mohan Parthasarathy" <email@hidden>
  • Date: Tue, 20 Jan 2009 13:14:28 -0800

Oops,It looks like initWithRequest seems to work. The problem was in the
caching of my UIViewController which has a UIWebView. For UITableView, in
viewWillDisAppear, i can invalidate data (by causing a reload and returning
no data). I can see that UIWebView has a reload method. But i need to be
able call this from somewhere so that whenever the view loads it needs to
fetch the data always ? Is this possible or i have to disable caching
ViewControllers that have UIWebView in them ?

Thanks
mohan


On Tue, Jan 20, 2009 at 12:22 PM, Mohan Parthasarathy <email@hidden>wrote:

> Hi,
>
> I want to be able to establish the TCP connection to a server and do
> multiple HTTP GETs with different URLs. I thought will achieve this by
> allocating a NSURLConnection and then initWithRequest:urlRequest with a
> different URL everytime as there is no other way to set the URL. It looks
> like that this is not working and the URL is not changing. Is there a way to
> not to allocate the connection everytime i need to send a new request ?
>
> While debugging, i found that sending a description message to
> NSURLConnection coredumps. Is that right or a bug in my program ?
>
> Thanks
> mohan
>
>
_______________________________________________

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: 
 >NSURLConnection changing the URL (From: "Mohan Parthasarathy" <email@hidden>)

  • Prev by Date: Re: Draw NSView over QTMovieView
  • Next by Date: Re: Draw NSView over QTMovieView
  • Previous by thread: NSURLConnection changing the URL
  • Next by thread: Re: NSURLConnection changing the URL
  • Index(es):
    • Date
    • Thread