iOS Core Data Architecture tips wanted

后端 未结 3 1729
离开以前
离开以前 2021-02-09 11:09

I just want to get a few pointers on the best way to architect my first Core Data app, and the main objects and interactions I will require.

The data is stored remotely

3条回答
  •  栀梦
    栀梦 (楼主)
    2021-02-09 11:36

    You absolutely, definitely want to use RESTKit. This is a direct connection from your RESTful web service to Core Data. Define your data model using Xcode's built-in tool, define a mapping layer for your web service using RESTKit, and let the library do the heavy lifting. It's wonderful.

提交回复
热议问题