Skip to content
This repository was archived by the owner on Nov 26, 2025. It is now read-only.

mongodb/template-app-swiftui-todo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SwiftUI Template App

This project uses Swift Package Manager (SPM) to load dependencies.

Configuration

Ensure App/atlasConfig.plist exists and contains the following properties:

  • appId: your Atlas App Services App ID.
  • baseUrl: the App Services backend URL. This should be https://realm.mongodb.com in most cases.

Cloning from GitHub

If you have cloned this repository from the GitHub mongodb/template-app-swiftui-todo repository, you must create a separate App Services App with Device Sync enabled to use this client. You can find information about how to do this in the Atlas App Services documentation page: Template Apps -> Create a Template App

Once you have created the App Services App, replace any value in this client's appId field with your App Services App ID. For help finding this ID, refer to: Find Your Project or App Id

Download the Client as a Zip File

If you have downloaded this client as a .zip file from the Atlas App Services UI, it does not contain the App Services App ID. You must replace any value in this client's appId field in App/atlasConfig.plist with your App Services App ID. For help finding this ID, refer to: Find Your Project or App Id

If you did not replace the App ID, you may see an Error: unsupported URL message.

Run the app

  • Open App.xcodeproj in Xcode.
  • Wait for SPM to download dependencies.
  • Press "Run".

Issues

Please report issues with the template at https://github.com/mongodb-university/realm-template-apps/issues/new

About

Atlas Template Starter App - Use Device Sync from a SwiftUI client application. This repo is generated from source code in https://github.com/mongodb-university/realm-template-apps

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages