• 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: Problems getting NSURLConnection to work
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems getting NSURLConnection to work


  • Subject: Re: Problems getting NSURLConnection to work
  • From: Matthew Delves <email@hidden>
  • Date: Sun, 10 Feb 2008 02:08:31 +1100


On 10/02/2008, at 12:31 AM, Nir Soffer wrote:


On Feb 9, 2008, at 15:14, Nir Soffer wrote:

[urlConnection start];

start? NSURLConnection does not respond to this. The connection starts when you create it.


I guess that at this point an exception is raised and your initializer fails. This is why you don't get any notifications.

I see that -start was added in 10.5, so you don't get an exception here. Looks like not calling [super init] is the issue.



Unfortunately not. I placed in a call to [super init] though that made no difference.


With the comments from your previous email, I have been scratching my head over a lot of it including using an NSMutableURLRequest and setting the url of it a second time. As far as threads are concerned, I've run in on the main thread and a seperate thread and get the same results.

Any suggestions would be greatly appreciated.

Thanks,
Matthew Delves
_______________________________________________

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: Problems getting NSURLConnection to work
      • From: Nir Soffer <email@hidden>
References: 
 >Problems getting NSURLConnection to work (From: Matthew Delves <email@hidden>)
 >Re: Problems getting NSURLConnection to work (From: Nir Soffer <email@hidden>)
 >Re: Problems getting NSURLConnection to work (From: Nir Soffer <email@hidden>)

  • Prev by Date: Re: help with closing file handle
  • Next by Date: Graphing data from NSArrayController
  • Previous by thread: Re: Problems getting NSURLConnection to work
  • Next by thread: Re: Problems getting NSURLConnection to work
  • Index(es):
    • Date
    • Thread