iPhone REST client [closed]

2019-01-10 06:59发布

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.

9条回答
不美不萌又怎样
2楼-- · 2019-01-10 07:21

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.

查看更多
劫难
3楼-- · 2019-01-10 07:21

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.

查看更多
Root(大扎)
4楼-- · 2019-01-10 07:24

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.

查看更多
登录 后发表回答