I am using RestKit to download data from an API, namely an array of book descriptions. In my app, this data is read-only. I need that the user can mark some of the items downloaded as favourites.
I would like to save this bookmarks also in Core Data in a way that permits to use a NSPredicate to fetch only favourite books.
I can't just add a favourite field in the books entity because its value would be overwritten each time the app downloads data from server. I guess I need a different entity and I must establish a relationship between them but I couldn't find the right way.
How could I address this? Thanks for your help.