Core Data
Use Core Data to save your application’s permanent data for offline use, to cache temporary data, and to add undo functionality to your app on a single device. To sync data across multiple devices in a single iCloud account, Core Data automatically mirrors your schema to a CloudKit container. Through Core Data’s Data model editor, you define your data’s types and relationships, and generate respective class definitions. Core Data can then manage object instances at runtime to provide several features. Core Data abstracts the details of mapping your objects to a store, making it easy to save data from Swift and Objective-C without administering a database directly. Core Data’s undo manager tracks changes and can roll them back individually, in groups, or all at once, making it easy to add undo and redo support to your app. Perform potentially UI-blocking data tasks, like parsing JSON into objects, in the background.
Learn more
Dexie
Dexie.js is a minimalistic and bulletproof IndexedDB wrapper library designed to simplify client-side storage. At only ~29k minified and gzipped, it offers a concise API that addresses the complexities of native IndexedDB, such as ambivalent error handling, poor queries, lack of reactivity, and code complexity. Dexie.js provides a well-thought-through API design, robust error handling, extendability, change tracking awareness, and extended KeyRange support, including case-insensitive search, set matches, and OR operations. It embraces the IndexedDB specification and all its features, allowing developers to use existing IndexedDB data without the need for data migration. Dexie.js supports composable real-time queries, enabling components to mirror the database in real-time across various front-end frameworks like React, Svelte, Vue, and Angular. With Dexie Cloud, developers can build consistent, authenticated, and access-controlled local-first apps with just a few lines of extra code.
Learn more
InterBase
Ultrafast, scalable, embeddable SQL database with commercial-grade data security, disaster recovery, and change synchronization. Cross-platform, zero-install, embedded database as a direct-access library. Cross-platform, zero-install, embedded database with database-level and column-level AES and DES encryption. Concurrent applications/client access to the database on Windows with database-level and column-level AES and DES encryption. Ultrafast, scalable, SQL server database for Windows and Linux with commercial-grade data security, disaster recovery and change synchronization. Attacks on databases and loss of data can be costly and lead to loss of customers’ trust (and business), regulatory action, and heavy fines. InterBase provides over-the-wire and at-rest encryption, separate security login, and role-based user security. InterBase maintains full on-disk encryption while adding negligible overhead to database speed and performance.
Learn more
WatermelonDB
WatermelonDB is a reactive database framework designed to build powerful React and React Native apps that scale from hundreds to tens of thousands of records while remaining fast. It ensures instant app launch regardless of data volume, supports lazy loading to load data only when needed, and offers offline-first capabilities with synchronization to your own backend. It is multiplatform. Optimized for React, it allows easy integration of data into components and is framework-agnostic, enabling the use of its JavaScript API with other UI frameworks. Built on a robust SQLite foundation, WatermelonDB provides static typing with Flow or TypeScript and optional reactivity through an RxJS API. WatermelonDB addresses performance issues in complex applications by loading nothing until requested and performing all querying directly on SQLite on a separate native thread, ensuring most queries resolve instantly.
Learn more