On Oct 6, 2008, at 11:04 AM, Mark Thomas wrote:

I was looking at downloading some files, and started to look at
NSFileManager to create the file, and then saw I could use NSData to load the data via a NSURL, so this look's pretty straight forward and very small
code for downloading files.

So I'm wondering what is the downside of using this technique, as I guess
maybe these API block ?


Correct. If you need non-blocking I/O, then use NSURLConnection and NSURLRequest instead.

Nick Zitzmann
<http://www.chronosnet.com/>

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to