mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-24 00:30:51 +01:00
.. | ||
.github/workflows | ||
.swiftpm/xcode/xcshareddata/xcschemes | ||
Sources | ||
Tests/RSDatabaseTests | ||
.gitignore | ||
Package.swift | ||
README.md |
RSDatabase
This is utility code for using SQLite via FMDB. It’s not a persistence framework — it’s lower-level.
It builds as a couple frameworks — one for Mac, one for iOS.
It has no additional dependencies, but that’s because FMDB is actually included — you might want to instead make sure you have the latest FMDB, which isn’t necessarily included here.
What to look at
The main thing is RSDatabaseQueue
, which allows you to talk to SQLite-via-FMDB using a serial queue.
The second thing is FMDatabase+RSExtras
, which provides methods for a bunch of common queries and updates, so you don’t have to write as much SQL.