FMDB
A Cocoa / Objective-C wrapper around SQLite (by ccgus)
MMKV
An efficient, small mobile key-value storage framework developed by WeChat. Works on Android, iOS, macOS, Windows, and POSIX. (by Tencent)
Our great sponsors
FMDB | MMKV | |
---|---|---|
5 | 5 | |
13,834 | 16,791 | |
- | 0.9% | |
5.2 | 8.7 | |
11 days ago | 1 day ago | |
Objective-C | C++ | |
Unknown | GNU General Public License v3.0 or later |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
FMDB
Posts with mentions or reviews of FMDB.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-06.
-
SwiftData
There’s a number of indie devs who rely on https://github.com/ccgus/fmdb for fast persistence. The rebirth of NetNewsWire came with FMDB at it’s core (https://inessential.com/2020/05/18/why_netnewswire_is_fast)
-
Can I transfer data from a SQLite3 (*.db) file to Core Data?
In a project I‘ve adopted, this package is used alongside CoreData to access SQLite features which aren’t possible in CoreData. I would recommend it, it‘s pretty old but has SPM support. But it’s written in Obj-C, maybe this is off-putting for you, so you may find something similar but written in swift.
-
Awesome macOS Libraries List
FMDB - A Cocoa / Objective-C wrapper around SQLite. Language: Objective-C.
- Any practical recommendation when dealing with SQLite in iOS?
MMKV
Posts with mentions or reviews of MMKV.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-04-03.
-
Understanding security in React Native applications
react-native-mmkv is a wrapper around MMKV that allows you to easily implement secure storage in your app. It is arguably the fastest key-value storage for React Native apps
-
TOP 6 React Native libraries with native performance ⚡️
This library uses MMKV key-value storage and JSI to communicate between the JS side and the native side very quickly and synchronously. It is a suitable replacement for slow AsyncStorage. Follow this guide to migrate from AsyncStorage and get 30x faster on read and write operations in your app.
-
MMKV Visualizer - simple visualizer for mobile forensicators
For those unfamiliar with MMKV, here's a link to their GitHub - https://github.com/Tencent/MMKV. Used in many mobile applications, such as Discord.
-
React Native SWR Persistent Cache with MMKV
SWR library works great with React Native. By default, SWR library uses global cache store, but you will lose your cache when you reload your app. Here is a super-easy way to sync SWR cache with MMKV.
-
Getting Started with React Native JSI Modules
This library aims to provide a fast & reliable solution for you data storage needs in react-native apps. It uses MMKV by Tencent under the hood on Android and iOS both that is used by their WeChat app(more than 1 Billion users). Unlike other storage solutions for React Native, this library lets you store any kind of data type, in any number of database instances, with or without encryption in a very fast and efficient way. Read about it on this blog post I wrote on dev.to
What are some alternatives?
When comparing FMDB and MMKV you can also consider the following projects:
GRDB.swift - A toolkit for SQLite databases, with a focus on application development
Realm - Realm is a mobile database: a replacement for Core Data & SQLite
SQLite.swift - A type-safe, Swift-language layer over SQLite3.
ObjectBox embedded database - Swift database - fast, simple and lightweight (iOS, macOS)
YapDatabase - YapDB is a collection/key/value store with a plugin architecture. It's built atop sqlite, for Swift & objective-c developers.
SQLite - A stand-alone Swift wrapper around the SQLite 3 client library.
swiftydb
WCDB - WCDB is a cross-platform database framework developed by WeChat.
UserDefaults - Simple, Strongly Typed UserDefaults for iOS, macOS and tvOS