iPhone create SQLite database at runtime?

前端 未结 3 2079
独厮守ぢ
独厮守ぢ 2021-01-04 12:59

Most sqlite examples I\'ve found talk about creating a db file from the commandline first and then adding that to your app. For my project, I\'d like to be able to create m

3条回答
  •  醉话见心
    2021-01-04 13:41

    I think I'm going to echo the expanding cry, that if you are looking at doing anything with a database you should look at CoreData. It uses SQLLite underneath and is simpler to set up, and much simpler to migrate later when you find you need a few new things in the DB!

提交回复
热议问题