MMKV
SwiftyUserDefaults
Our great sponsors
MMKV | SwiftyUserDefaults | |
---|---|---|
4 | 2 | |
16,725 | 4,808 | |
1.0% | - | |
8.7 | 0.0 | |
about 20 hours ago | 4 days ago | |
C++ | Swift | |
GNU General Public License v3.0 or later | MIT License |
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.
MMKV
-
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
SwiftyUserDefaults
-
Question about Apple's review
The 3rd party library I use GRDB SwiftyUserDefaults Kingfisher SwiftDate Popovers
What are some alternatives?
Realm - Realm is a mobile database: a replacement for Core Data & SQLite
SQLite.swift - A type-safe, Swift-language layer over SQLite3.
UserDefaults - Simple, Strongly Typed UserDefaults for iOS, macOS and tvOS
ObjectBox embedded database - Swift database - fast, simple and lightweight (iOS, macOS)
SQLite - A stand-alone Swift wrapper around the SQLite 3 client library.
WCDB - WCDB is a cross-platform database framework developed by WeChat.
Prephirences - Prephirences is a Swift library that provides useful protocols and convenience methods to manage application preferences, configurations and app-state. UserDefaults
Zephyr - Effortlessly synchronize UserDefaults over iCloud.
FMDB - A Cocoa / Objective-C wrapper around SQLite
react-native-mmkv-storage - An ultra fast (0.0002s read/write), small & encrypted mobile key-value storage framework for React Native written in C++ using JSI
Palau - NSUserDefaults with Wings!