NSURLConnection sync vs async connections

2010-09-23 Thread Devraj Mukherjee
Hi all, I am the maintainer of EtsyCocoa (http://etsycocoa.googlecode.com), its a Cocoa client library for Etsy.com's REST API. I am in the process of re-writing the API client seeing they have released v2 of their API. Previous version I used NSURLConnection to make synchronous calls to the

Re: NSURLConnection sync vs async connections

2010-09-23 Thread Ken Thomases
On Sep 23, 2010, at 4:21 AM, Devraj Mukherjee wrote: Previous version I used NSURLConnection to make synchronous calls to the API I would like to move towards using async requests. I can grab / parse the data using the delegate methods, what I am struggling with is how I return the data to

Re: NSURLConnection sync vs async connections

2010-09-23 Thread Jerry Krinock
On 2010 Sep 23, at 02:21, Devraj Mukherjee wrote: Previous version I used NSURLConnection to make synchronous calls to the API, parsing the data and then returning results. Only problem of course is that my API client had to be used in threads so the UI didn't get locked up while the request