Reputation: 261
I have an Android app I wrote that uses a sqllite database, now I am writing the same app for iPhone. How do I use the existing sqllite database from my android app in the iPhone version?
More specific questions:
Upvotes: 0
Views: 1155
Reputation: 2585
If you're happy with using sql, you don't necessarily need to go through the CoreData pain barrier. Ray Wenderlich also has a good tutorial on using Sqlite directly in your app here:
Part 1 - SQLite 101 for iPhone Developers (Intro)
Part 2 - SQLite 101 for iPhone Developers (The actual coding with Sqlite)
His site is a great resource for experienced developers wanting a quick and practical guide to getting started with almost every aspect of iOS development imaginable.
Upvotes: 2
Reputation: 20410
Here you can find a tutorial about how to import a SQLite Databse to core data:
How To Preload and Import Existing Data
Upvotes: 1