• 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: initWithContentsOfURL question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: initWithContentsOfURL question


  • Subject: Re: initWithContentsOfURL question
  • From: Mike Abdullah <email@hidden>
  • Date: Sun, 4 Nov 2007 23:36:28 +0000

Um, what do you mean by "safe?"

Ultimately you should get the same result. It's more convenient to use these methods than NSURLConnection but you do risk seriously blocking the main thread at the user's inconvenience.

Mike.

On 4 Nov 2007, at 14:18, Jesus De Meyer wrote:

Hi (again),

How safe is it to retrieve data via the methods initWithContentsOfURL or stringWithContentsOfURL, rather than using NSURLConnection to retrieve the data asynchronously?

Thanks in advance,

Jesus
__________________
Jesus De Meyer
www.edot-studios.com
jesus.edot-studios.com
"creativity in mind"


_______________________________________________

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

_______________________________________________

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: initWithContentsOfURL question
      • From: Jesus De Meyer <email@hidden>
References: 
 >initWithContentsOfURL question (From: Jesus De Meyer <email@hidden>)

  • Prev by Date: Re: NSSortDescriptor not working with array of custom classes
  • Next by Date: Re: FYI - installer packages are the preferred deployment method now
  • Previous by thread: initWithContentsOfURL question
  • Next by thread: Re: initWithContentsOfURL question
  • Index(es):
    • Date
    • Thread