Docs Menu

Realm Swift SDK

Use the Realm Swift SDK to develop iOS, macOS, watchOS and tvOS apps in Swift and Objective-C.

Learning Paths
Functions Icon

Quick Start

Minimal-explanation code examples of how to work with Realm.

See Code Examples

Realm Mobile Icon

Working Example App

Learn from example by dissecting a working SwiftUI client app that uses Realm with Device Sync.

Explore an Example App

Tutorial Icon

Guided Tutorial

Follow a guided tutorial to learn how to adapt the example app to create your own working Realm app.

Follow the Tutorial

What You Can Do

Use free open-source Realm as a local object store on a device. Use Device Sync to keep data in sync with your MongoDB Atlas cluster and other clients.

Essential Documentation
Realm Icon

Swift API Reference

Explore generated reference docs for the RealmSwift APIs.

RealmSwift Reference

Realm Icon

Objective-C API Reference

Explore generated reference docs for the Realm Objective-C APIs.

Realm Reference

Tutorial Icon

SwiftUI Quick Start

Get started with Realm for SwiftUI.

Explore the Quick Start

Asymmetric Sync icon

Analytics/Telemetrics Data

Take sensor readings, push data to Atlas, and display the results in Atlas Charts or a time series collection.

Example app

Cloud Mobile Transfer Icon

Connection State Change & Error Handling

Learn best practices around handling Sync errors and client resets.

Example app

Realm Offline Icon

Offline Login and Realm Access

Log in a Device Sync user and open a synced realm offline.

Example app

Share Feedback
© 2023 MongoDB, Inc.

About

  • Careers
  • Investor Relations
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2023 MongoDB, Inc.