Code Monkey home page Code Monkey logo

markbrownmongodb / template-app-swiftui-todo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mongodb/template-app-swiftui-todo

0.0 0.0 0.0 29 KB

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

Home Page: https://github.com/mongodb-university/realm-template-apps

Swift 100.00%

template-app-swiftui-todo's Introduction

SwiftUI Template App

A todo list application built with the Realm Swift SDK and Atlas Device Sync.

You can follow along with the SwiftUI Tutorial to see how to build, modify, and run this template app.

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

Configuration

For this template app to work, you must ensure that 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.

Using the Atlas App Services UI

The easiest way to use this template app is to log on to Atlas App Services and click the Create App From Template button. Choose Real Time Sync, and then follow the prompts. While the backend app is being created, you can download this SwiftUI template app pre-configured for your new app.

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

template-app-swiftui-todo's People

Contributors

arty-fact avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.