Re: Problems getting NSURLConnection to work
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