Generating Objective-c client side code for consuming Rest Services

前端 未结 2 619
梦毁少年i
梦毁少年i 2021-01-03 00:41

I am working on building an iPhone application that uses an external server to store most of the data. The server exposes all the required services using a REST API.

相关标签:
2条回答
  • 2021-01-03 01:28

    Agreed with using ResKit, which allows not only to ease REST services consuming, but also mapping to CoreData and others if I remember well.

    And about CoreData I would suggest using Mogenerator that intended to generate CoreData code, but it is also allowing more, since it can basically be used as a template based code generator from CoreData Models...

    A good match to your question could be some Mo' templates filling the gap between both.

    0 讨论(0)
  • 2021-01-03 01:33

    RestKit is a great framework. You're still going to have to write code, but it will make the process of moving data between Cocoa models and RESTful/JSON web services elegantly straightforward. I recommend running through the examples to get your head around their way of doing things.

    0 讨论(0)
提交回复
热议问题