https://github.com/getditto/template-app-swift-todo
https://github.com/getditto/template-app-swift-todo
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/getditto/template-app-swift-todo
- Owner: getditto
- Archived: true
- Created: 2023-10-16T19:14:16.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-03T15:50:39.000Z (almost 2 years ago)
- Last Synced: 2026-04-04T01:44:32.178Z (3 months ago)
- Language: Swift
- Homepage:
- Size: 47.9 KB
- Stars: 1
- Watchers: 7
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
