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 the application incorporating my library?
> 
> Notifications? Or take define a protocol that the application has to
> implement and call back appropriate messages?

You could follow the example of the class you're using.  NSURLConnection uses 
the delegate pattern.

Regards,
Ken

_______________________________________________

Cocoa-dev mailing list ([email protected])

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