Explore Developer Center's New Chatbot! MongoDB AI Chatbot can be accessed at the top of your navigation to answer all your MongoDB questions.

Join us at AWS re:Invent 2024! Learn how to use MongoDB for AI use cases.
MongoDB Developer
MongoDB Developer Centerchevron-right
Developer Topicschevron-right

Swift

plus Follow
Sign in to follow topics
A general-purpose, multi-paradigm, compiled programming language. Swift is a powerful programming language for Apple devices.

Featured

Video

Sync your iOS SwiftUI App with MongoDB Atlas using Atlas Device Sync | Part 2

✅ Sign-up for a free cluster at → https://mdb.link/free-0SjuYcdGEgQ ✅ Get help on our Community Forums → https://mdb.link/community-0SjuYcdGEgQ Learn how to build an iOS app using SwiftUI and the Atlas Device SDK (formerly Realm) for local persistence. You can find the code and step by step instructions in the online Lab: https://mdb.link/swiftui-atlas-sdk Subscribe to MongoDB YouTube → https://mdb.link/subscribe...
MobileiOSRealmSwift

Nov 16, 2023 | 62 min
Video

Sync your iOS SwiftUI App with MongoDB Atlas using Atlas Device Sync | Part 1

MongoDB thumbnail image
Play Button

Nov 08, 2023 | 119 min
News & Announcements

Halting Development on MongoDB Swift Driver


Sep 11, 2024 | 1 min read
All Swift Content
search
  • Latest
  • Highest Rated
Tutorial

Continuously Building and Hosting our Swift DocC Documentation Using Github Actions and Netlify

Learn how to use Github Actions to generate the DocC documentation for our Swift libraries and publish it to be accessed online using Netlify.
MongoDB thumbnail image

Sep 17, 2024
Diego Freniche
Code Example
FULL APPLICATION

Build a Command Line Tool With Swift and MongoDB

This article will help you build a command line executable tool that manipulates data in a MongoDB database.
MongoDB thumbnail image

Sep 11, 2024
Michael Lynn
News & Announcements

Halting Development on MongoDB Swift Driver

MongoDB is halting development on our server-side Swift driver. We remain excited about Swift and will continue our development of our mobile Swift SDK.
MongoDB thumbnail image

Sep 11, 2024
Tutorial

Adding Realm as a Dependency to an iOS Framework

Adding Realm to a project is how we usually work. But sometimes, we want to create a framework that uses Realm. How do we do that?
MongoDB thumbnail image

Aug 12, 2024
Diego Freniche
Article

An Update on MongoDB's Ongoing Commitment to Swift

Swift is a well-documented, easy-to-use, convenient language focused on iOS app development. Get an update on MongoDB's ongoing commitment to Swift.
MongoDB thumbnail image

Jul 12, 2024
Kaitlin Mahar (+1)
Video

Sync your iOS SwiftUI App with MongoDB Atlas using Atlas Device Sync | Part 2

✅ Sign-up for a free cluster at → https://mdb.link/free-0SjuYcdGEgQ ✅ Get help on our Community Forums → https://mdb.link/community-0SjuYcdGEgQ Learn how to build an iOS app using SwiftUI and the Atlas Device SDK (formerly Realm) for local persistence. You can find the code and step by step instructions in the online Lab: https://mdb.link/swiftui-atlas-sdk Subscribe to MongoDB YouTube → https://mdb.link/subscribe
MongoDB thumbnail image
Play Button

Nov 16, 2023
Video

Sync your iOS SwiftUI App with MongoDB Atlas using Atlas Device Sync | Part 1

✅ Sign-up for a free cluster at → https://mdb.link/free-wFEO_tfjRHs ✅ Get help on our Community Forums → https://mdb.link/community-wFEO_tfjRHs Learn how to build an iOS app using SwiftUI and the Atlas Device SDK (formerly Realm) for local persistence. You can find the code and step by step instructions in the online Lab: https://mdb.link/swiftui-atlas-sdk Subscribe to MongoDB YouTube → https://mdb.link/subscribe
MongoDB thumbnail image
Play Button

Nov 08, 2023
Quickstart

Working with Change Streams from Your Swift Application

Change streams let you run your own logic when data changes in your MongoDB collections. This post shows how to consume MongoDB change stream events from your Swift app.
MongoDB thumbnail image

Jun 09, 2023
Andrew Morgan
Quickstart

Working with the MongoDB Single-Collection Pattern in Swift

You can improve application performance by storing together data that’s accessed together. This can be done through embedding sub-documents, or by storing related documents in the same collection — even when they have different shapes. This post explains how to work with these polymorphic MongoDB collections from your Swift app.
MongoDB thumbnail image

Jun 09, 2023
Andrew Morgan
Code Example
FULL APPLICATION

Building a Full Stack application with Swift

Curious about mobile and server-side swift? Use this tutorial and example code!
MongoDB thumbnail image

Jun 09, 2023
Kaitlin Mahar