On 7 Oct 2011, at 12:45, Martin Linklater wrote:

> Hi - I'm writing an iOS client for an online retailer and I'm having trouble 
> with the way NSURL encodes square brackets. I'm building an http request 
> using a string then converting it to a NSURL before calling [NSData 
> dataWithContentsOfURL].

Aside from the URL problem you're having, do NOT use +dataWithContentsOfURL: 
for this. Use a proper NSURLConnection so you can run it asynchronously without 
having to fire up a thread.

_______________________________________________

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