DryDB-iOS
iOS: 数据库基础配置
Prerequisites
- iOS10.0 +
- Swift5.0 +
Installation
- pod 'DryDB-iOS'
Features
/// 初始化数据库
DryDB.initDataBase(withRootName: "Dry", dbName: "user", pwd: "123")
/// 获取DB操作对象
let db: Database? = DryDB.db
CocoaPods trunk is moving to be read-only. Read more on the blog, there are 19 months to go.
iOS: 数据库基础配置
/// 初始化数据库
DryDB.initDataBase(withRootName: "Dry", dbName: "user", pwd: "123")
/// 获取DB操作对象
let db: Database? = DryDB.db