I need some help understanding CoreData.
Let's say I have MagicalRecords and RestKit installed, and I also have a server, which can return me some posts
. Then I need to save some of those posts
onto device memory, so a user can read the post later on (even with no internet connection). To not rubbish the memory, it's obvious that I should use in-memory storage, which I do. But for saving the posts I definitley want SQLite or something, and it makes me really helpless.
The problem is, Apple do not give much information about how to handle this sort of situatuion, and the googling did not help so far. I'm guessing that I have to make two persistent stores and two configurations: the default and the "saving" ones. I have found a way to make two persistent stores, but now I just don't understand how to work with that: how to create and save enteties in exact store I want, how to transfer them between stores, how will this interact with RK and MR?
Any help will be aprichiated. Links, info, code snippets
To not rubbish the memory, it's obvious that I should use in-memory storage
- what does this mean? You should have the minimum amount of info in memory that you possibly can... – Talavera