Skip to content

parth49patel/Tasks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Tasks

A simple TaskList App built using SwiftUI.

Features Implemented

  1. Sheet -> User can add task by clicking the Add Task button.
  2. UserDefaults -> The tasks are saved in an array which is stored as UserDefaults on the device.
  3. @Environment Dismiss -> The Add Task sheet has the @Environment(.dismiss) to dismiss the sheet.
  4. @Environment Color Scheme -> The backgound color of a task changes based on whether it is completed or not.
    The app uses the @Environment(.colorScheme) to determine the color of the background of the completed task, color of the text and the dismiss button in Add Task sheet. The app also supports light and dark mode bt usnig the @Environment(.colorScheme).

Images

  • Light Mode

Light Mode

  • Dark Mode

Dark Mode

  • Add Task

Add Task

About

A simple TaskList App built using SwiftUI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages