realm

realm-swift

realm

A mobile database that runs directly inside phones, tablets, and wearables, providing an object-oriented data model for iOS, macOS, tvOS, and watchOS platforms as an alternative to Core Data and SQLite.

v20.0.6
Published at
Sep 27, 2026
16,610
Stars
75,670
Download
Synced at
Oct 4, 2026

Latest release

v20.0.6Sep 27, 2026, 01:19 AM
Downloads slow? Switch the source anytime above

README

Project Overview

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

Key Features

  • Object-oriented data model: Simple to learn, no ORM required, less code to write
  • Built for mobile: Lightweight, efficiently uses memory, disk space, and battery life
  • Designed for offline use: Local database persists data on-disk, works offline and online
  • Live Objects: Data updated anywhere is automatically updated everywhere
  • SwiftUI integration: Direct SwiftUI integration with automatic view updates
  • Fully encrypted: Data can be encrypted in-flight and at-rest

Target Audience

  • iOS, macOS, tvOS, and watchOS app developers
  • Mobile teams needing local data persistence
  • Developers looking for alternatives to Core Data or SQLite

Quick Start

  • Install via Swift Package Manager, CocoaPods, Carthage, or by importing an XCFramework
  • See the quick start guide to get started

Core Advantages

  • Simple object-oriented data model
  • Mobile-optimized performance and resource usage
  • Live Objects for reactive programming
  • Full encryption for data security

System Requirements

  • OS: iOS, macOS, tvOS, watchOS

Release history

Sort