• 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: stringWithContentsOfURL doesn't work sometimes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: stringWithContentsOfURL doesn't work sometimes


  • Subject: Re: stringWithContentsOfURL doesn't work sometimes
  • From: j o a r <email@hidden>
  • Date: Wed, 13 Jul 2005 13:16:42 +0200


On 13 jul 2005, at 12.48, Lorenzo wrote:

I meant that the API stringWithContentsOfURL cannot get the string and my
screensaver freezes just there. Nothing to do with resources.

I think that you should basically never use the "initWithURL:" methods. In the vast majority of cases you want something that's asynchronous and that have better error reporting. Have a look at NSURLConnection for example, it's easy to use and powerful enough for most things you would want to do.


j o a r



Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: stringWithContentsOfURL doesn't work sometimes
      • From: Nicko van Someren <email@hidden>
References: 
 >Re: stringWithContentsOfURL doesn't work sometimes (From: Lorenzo <email@hidden>)

  • Prev by Date: "RegisterProcess failed (error = -50)" occurs for forked subprocesses
  • Next by Date: Re: "RegisterProcess failed (error = -50)" occurs for forked subprocesses
  • Previous by thread: Re: stringWithContentsOfURL doesn't work sometimes
  • Next by thread: Re: stringWithContentsOfURL doesn't work sometimes
  • Index(es):
    • Date
    • Thread