An open API service indexing awesome lists of open source software.

https://github.com/getditto/template-app-swift-todo


https://github.com/getditto/template-app-swift-todo

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

          

# template-app-SwiftUI-todo

## Setup
1. Clone this repo to a location on your machine, and open in Xcode
2. Navigate to the project Signing & Capabilities tab and modify the Team and Bundle Identifier
settings to your Apple developer account credentials to provision building to your device
3. In Terminal, run `cp .env.template .env` in the project root directory
4. Edit `.env` and copy your Ditto AppID and token from the [Ditto Portal](https://portal.ditto.live/)
as in the following example:
```
DITTO_APP_ID=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
DITTO_PLAYGROUND_TOKEN=XXXXXXXX-XXXX-XXXX-XXXXXXXXXXXX
```
5. Clean (**Command + Shift + K**), then build (**Command + B**). This will generate `Env.swift` in
the project directory. Drag the Env.swift from Finder into the Xcode Project navigator to add to project.

## Features
- Select "New Task" from the plus menu to create a simple task
- Select "Users" from the plus menu to view tasks for a given user, or view all tasks as
"Super Adnim", the default user
- In list view, click the body of a task row to open it in Edit view
- In list view, click task row "plus" icon to add (random) user invitations
- Toggle task completion status in Edit view, or by clicking the row icon in the list view
- Evict task in the Edit view

![Tasks_app_screenshot_473x1024](https://github.com/getditto/template-app-swift-todo/assets/10930016/d43f7fea-c38f-48ca-a4f2-f2773e4961a9)