Hello,

I'm using a simple NSArray stored on a web server as part of a version tracking system. First I download the array using arrayWithContentsOfURL: and check the version etc. The problem with this approach is that if the server is down the method appears to hang indefinitely.

So I thought I'd use NSURLConnection to download the array and set a timeout value. Everything seems to be working but how can I turn the NSData* object(s) back into an NSArray that I can access as normal?

Thanks,
Stephen
_______________________________________________

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 arch...@mail-archive.com

Reply via email to