getditto / template-app-swift-todo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:Swift 96.3%Language:Shell 3.7%