Reputation: 1332
Is it possible with Core-Data to fetch data from a view ? (I mean a SQLite View)
On the first launch of my iOS app, I load data from a single SQLite file into my Core-Data store, but in this sqlite file, I also have a view. How can I handle this with Core-Data ?
I would like to be able to fetch data from this view.
Upvotes: 0
Views: 90
Reputation: 80265
A view is really nothing but a select statement. Just sync these separately using simple SQL strings. You can store them as FetchRequestTemplates in your Core Data model.
Upvotes: 1