使用Swift和SQLite创建iOS数据库应用 Build iOS Database Apps with Swift and SQLite What You'll Learn: How to create database and database applications using iOS and Swift How to insert, select, edit, and delete records How to extend SQLite How to work with m ul
代码如下://1.创建数据库public class DBService extends SQLiteOpenHelper {
private final static int VERSION = 1;private final static String DATABASE_NAME = “uniteqlauncher.db”;
public DBService(Context context) { this(context, DATABASE_NAME, null, VERSION);}