realm-swift

Realm is a mobile database: a replacement for Core Data & SQLite

What is realm-swift?

Realm is a mobile database: a replacement for Core Data & SQLite

Overview of realm-swift

What it is

Realm is a mobile database that runs directly inside phones, tablets or wearables. This repository holds the source code for the iOS, macOS, tvOS & watchOS versions of Realm Swift & Realm Objective-C. It is designed as a replacement for Core Data and SQLite.

Key features

  • Object-oriented data model that does not require an ORM, reducing code.
  • Built for mobile: lightweight, efficient memory and disk usage, battery-friendly.
  • Designed for offline use: persists data on-disk, works offline as well as online.
  • Live objects: data updated anywhere is automatically updated everywhere.
  • Direct integration with SwiftUI, updating views automatically.
  • Fully encrypted data in-flight and at-rest.

Use cases

  • Mobile applications that need a local database with minimal setup.
  • Offline-first apps that require data persistence without network connectivity.
  • Reactive apps that benefit from live object notifications and automatic UI updates.
  • SwiftUI-based apps needing seamless data binding.

Getting started

See the repository README for installation instructions via Swift Package Manager, CocoaPods, Carthage, or XCFramework.

License and pricing

Realm Objective-C & Realm Swift are published under the Apache 2.0 license. Realm Core is also published under the Apache 2.0 license. The project is open source.

Based on the project's public README and repository metadata.

Add this badge to your README

Featured on YunoDB Badge styles & help

Maintain this project? Show that it is featured on YunoDB.

Markdown[![Featured on YunoDB](https://yunodb.com/badge/realmrealm-swift.svg)](https://yunodb.com/tools/realmrealm-swift?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/realmrealm-swift?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/realmrealm-swift.svg" alt="Featured on YunoDB" height="20"></a>