【问题标题】:REST webservice integration for iphone application用于 iphone 应用程序的 REST Web 服务集成
【发布时间】:2012-02-21 18:38:41
【问题描述】:

我正在创建一个应用程序,我必须在其中从 REST 类型的 Web 服务中获取数据,但现在我没有找到合适的方式来使用 REST Web 服务。在我的应用程序中,应该有用于 Web 服务的 get 和 post commant 作品。谁能帮我在Objective c中为iphone应用程序集成REST Web服务。 提前谢谢....

【问题讨论】:

    标签: iphone objective-c ios web-services


    【解决方案1】:

    http://restkit.org/ 是 iPhone 上的一个不错的 API,http://allseeing-i.com/ASIHTTPRequest/ + JSON 解析器(例如 https://github.com/stig/json-framework)也应该可以完成这项工作!

    您还应该在这里找到一些其他选项:Objective-C:Best way to access REST API on your iphone

    【讨论】:

      【解决方案2】:

      我建议你使用 github 上的这个项目 - https://github.com/akosma/iphonerestwrapper 这个项目有一些很棒的类可以在 iPhone 上使用 REST

      【讨论】:

        猜你喜欢
        • 2014-07-17
        • 2015-07-01
        • 2013-02-14
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2011-04-29
        相关资源
        最近更新 更多