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 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 was being made.

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 the application incorporating my library?

Notifications? Or take define a protocol that the application has to
implement and call back appropriate messages?

Any ideas would be appreciated.

Thanks.
_______________________________________________

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