What is MMKV?

MMKV is an efficient, small, easy-to-use mobile key-value storage framework used in the WeChat application. It’s currently available on iOS, macOS, Android and Windows.

Features:

Efficient. MMKV uses mmap to keep memory synced with file, and protobuf to encode/decode values, making the most of iOS/macOS to achieve best performance.

Easy-to-use. You can use MMKV as you go, no configurations needed. All changes are saved immediately, no synchronize calls needed.

A handful of files: MMKV contains encode/decode helpers and mmap logics and nothing more. It’s really tidy.

Less than 30K in binary size: MMKV adds less than 30K per architecture on App size, and much less when zipped (ipa).

Overview

  • Pricing: Free
  • Resource Link: https://github.com/Tencent/MMKV
  • Resource Maker: Tencent
  • Mobile Platform Destination: iOS Apps
  • Mobile Platform Support: Native iOS
  • Programming Languages: C++
  • CocoaPods: MMKV