Use persistent data storage to store data through web services?

Is that a good idea? When is a good idea and when is it bad?

I just heard about it in one of the WWDC videos, and I don’t quite understand why I would like to do it this way. It seems complicated and I do not see the benefits.

+3
source share
2 answers

The way I see it would be to completely abstract the level of data access. You can then access the web service using the Core Data fetch request API. You can also implement caching in persistent storage without affecting the application logic.

/ - .

, . , , , , Core Data , , .

, , Core Data API - ORM, , .

+1

, , , Core Data. , . , , Core Data, .

+1

Source: https://habr.com/ru/post/1758306/


All Articles