Tool to migrate Standard Sqlite Database to Core Data
Tool to migrate Standard Sqlite Database to Core Data
Sqlite2CoreData is a command line tool to migrate the Sqlite database to to Core Data compatible database. It generates the Datamodel file and Core Data Sqlite file which can be imported to Mac/iOS projects and used with Core Data.
Main purpose of the tool is to ease the migration process. It generates Datamodel by creating entities based on the table schema. Foreign Key information is used to generate the relationship information.
For more details and sample usage visit the blog post
./sqlite2coredata "path_to_database_file"
Sqlite2CoreData.xcodeproj
fileOutput Files are saved to a folder named Output in the same directory containing the input database
Next up for Sqlite2CoreData
are the following:
Sqlite2CoreData is available under the MIT license. See the LICENSE file for more info.