Swiftpack.co - Ranchero-Software/RSDatabase as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by Ranchero-Software.
Ranchero-Software/RSDatabase 2.0.0
Utility code for using SQLite via FMDB. Mac and iOS.
⭐️ 39
🕓 30 weeks ago
iOS macOS
.package(url: "https://github.com/Ranchero-Software/RSDatabase.git", from: "2.0.0")

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.

GitHub

link
Stars: 39
Last commit: 3 weeks ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

2.0.0
30 weeks ago

Remove unused, experimental ODB code.

Remove unneeded main thread preconditions.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics