Reps is a SwiftUI-based stopwatch application designed to help you manage and track your tasks efficiently. With integrated lap timing and task management features, Reps allows you to monitor the time spent on each task, ensuring productivity and effective time management.
-
Precise Timing
- Digital display showing minutes, seconds, and centiseconds.
- Timer updates every 0.01 seconds for high accuracy.
-
Start/Stop Functionality
- Toggle the timer with a Start/Stop button that changes color between green (active) and red (inactive).
-
Lap Timer
- Record lap times for individual tasks.
- Lap times are displayed in a scrollable list, showing both the time and the corresponding task.
-
Task Management
- Input a list of tasks using a text editor, with each task on a new line.
- Process tasks into an array of strings for sequential tracking.
- Display the current task above the timer.
- Automatically advance to the next task with each lap.
- Stop the timer automatically when all tasks are completed, displaying a completion message.
-
User-Friendly Interface
- Responsive design with a maximum height for the lap list to optimize screen space.
- Clear visual indicators for current task and timer status.
-
Clone the Repository
git clone https://github.com/yourusername/reps.git
-
Open in Xcode
Navigate to the project directory and open
Reps.xcodeproj
with Xcode. -
Run the Application
- Select the desired simulator or your physical device.
- Click the Run button (
▶️ ) in Xcode to build and launch the app.
-
Enter Your Tasks
- Open the app and navigate to the task input area.
- Enter each task on a separate line in the text editor.
-
Process Tasks
- Click the Process Tasks button to parse the input text into individual tasks.
- The first task will appear above the timer.
-
Start the Timer
- Press the Start button to begin the stopwatch.
-
Record Laps
- For each task, press the Lap button to record the time spent.
- The next task will automatically appear, and the timer will continue.
-
Completion
- After the final task, pressing Lap will record the last time and automatically stop the timer.
- A message stating "All tasks completed!" will be displayed.
-
Reset
- When the timer is stopped, you can reset it to clear all laps and tasks.
Contributions are welcome! Please follow these steps:
-
Fork the Repository
-
Create a Feature Branch
git checkout -b feature/YourFeature
-
Commit Your Changes
git commit -m "Add your feature"
-
Push to the Branch
git push origin feature/YourFeature
-
Open a Pull Request
This project is licensed under the GPL-3.0 license.