Core Data on client (iOS) to cache data from a server Strategy

前端 未结 3 1187
傲寒
傲寒 2021-01-29 17:50

I have written many iOS apps that was communicating with the backend. Almost every time, I used HTTP cache to cache queries and parse the response data (JSON) into objective-C o

3条回答
  •  清酒与你
    2021-01-29 18:07

    I think it's a valid approach. I've done this a number of times. The tricky part is when you need to deal with synchronizing: if client and server can both change things at the same time. You almost always need app-specific merging logic for this.

提交回复
热议问题