Re: initWithContentsOfURL question
Re: initWithContentsOfURL question
- Subject: Re: initWithContentsOfURL question
- From: Jesus De Meyer <email@hidden>
- Date: Mon, 5 Nov 2007 11:10:33 +0100
Um, what do you mean by "safe?"
Like, will it always do a remote connection to get the data or could
it be that some classes only do local connections.
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.
Yeah, I noticed that too, I think I'll use NSURLConnection instead.
Wouldn't like to block the main thread that much.
Thanks,
Jesus
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
__________________
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