ToDoList is a simple and intuitive task management app built with SwiftUI. It allows users to easily add, manage, and track their daily tasks with customizable priorities.
• Task Management: Add new tasks with a title and assign a priority level.
• Priority Levels: Categorize tasks into Low, Medium, and High priorities, each with a distinct color for easy identification.
• Task Completion: Mark tasks as complete, with a visual indicator.
• Task Deletion: Easily remove tasks from the list.
• User-Friendly Interface: Clean and straightforward design for efficient task organization.
• SwiftUI State Management: Utilized @State and @Binding properties to manage the application's state, including the list of tasks and the presentation of new task sheets.
• Data Modeling: Implemented structs for Task and an enum for PriorityType to structure data effectively and make it identifiable.
• User Input and Forms: Handled user input with TextField for task titles and Picker for priority selection.
• Navigation and Sheets: Implemented NavigationStack for app navigation and presented AssignTaskView as a sheet for adding new tasks.
• List Management: Used ForEach within a List to display tasks and implemented onDelete for swipe-to-delete functionality.
• Alerts and Validation: Implemented input validation for task titles and displayed alerts to provide user feedback for invalid entries.
