Skip to content

getditto/template-app-swift-todo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 as in the following example:
DITTO_APP_ID=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
DITTO_PLAYGROUND_TOKEN=XXXXXXXX-XXXX-XXXX-XXXXXXXXXXXX
  1. 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks