Reputation: 2912
I am currently using CoreData as data base in my app. Now I have a requirement to fetch data from a SQLite DB file and use that in my app. Now the questions are
1 - Can we use both SQLite and CoreData together in a single app.
2 - If yes, will it cause any memory issues?
3 - Can we fetch data from multiple DB(SQLite DB) files in a single app.
Upvotes: 1
Views: 476
Reputation: 186098
SQLite is just a library that lets you read and write files in its own format using SQL statements. There are no special restrictions on accessing multiple files. You can even write queries that span multiple databases — see the ATTACH statement.
Upvotes: 7