简体   繁体   中英

FMDatabaseQueue (FMDB) using Swift

I've been trying to find Swift examples for FMDatabaseQueue.

All I have been able to find is Objective-C here: https://ccgus.github.io/fmdb/html/Classes/FMDatabaseQueue.html

Im not familiar with Objective-C and I'm new to Swift so I'm not sure how to port the code.

There exists Swift wrappers for SQLite that may be a better fit that fmdb which can run in Swift but does not use Swift features such as type safety or error handling. See for example my GRDB.swift https://github.com/groue/GRDB.swift which was heavily influenced by ccgus/fmdb.

我在这里找到了想要的东西https://github.com/ccgus/fmdb/issues/291

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM