• 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: Nir Soffer <email@hidden>
  • Date: Sat, 9 Feb 2008 15:31:59 +0200


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.



Best Regards,

Nir Soffer

_______________________________________________

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

  • Prev by Date: Re: AuthorizationExecuteWithPrivileges question
  • Next by Date: Re: 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