Does anybody know is there any good library for iPhone SDK to call REST web service. I want to have something simple like Heroku rest client
Thx everybody for help.
My server side is on Rails so looks like ObjectiveResource feet best of my needs.
Does anybody know is there any good library for iPhone SDK to call REST web service. I want to have something simple like Heroku rest client
Thx everybody for help.
My server side is on Rails so looks like ObjectiveResource feet best of my needs.
After using the super verbose and painful delegates that you had to until iOS 4, we moved over to using blocks for asynchronous behavior. it's been really great and has allowed our code to actually be readable lately.
We open sourced the rest client that we used here :
https://github.com/jeremylightsmith/RestClient
Let us know how it works for you.
You can check your server response with a rest client app on iphone - http://itunes.apple.com/us/app/rest-client/id503860664?ls=1&mt=8
This can help you debug your code on server side.
Hope Andrian Kosmaczewski's work can save your time from reinventing the wheels:
http://github.com/akosma/iphonerestwrapper/tree/master
And, it's Public Domain.