FastingTimer is a SwiftUI-based iOS application designed to assist users in tracking their fasting periods.
˚˚˚
Fasting has gained popularity as a health practice for various benefits, including weight loss and improved metabolic health. FastingTimer offers a user-friendly interface to monitor fasting and feeding periods, helping users stay on track with their fasting goals.
- Fasting State Tracking: Keep track of the current fasting state (not started, fasting, feeding).
- Fasting Plan Configuration: Choose from different fasting plans, such as beginner, intermediate, or advanced.
- Time Calculation: Automatically calculate start and end times for fasting periods based on the selected plan.
- Progress Visualization: Visualize fasting progress with a circular progress indicator.
- Real-time Updates: Receive real-time updates on elapsed time and remaining time during fasting periods.
- Clone or download the repository to your local machine.
- Open the project in Xcode.
- Build and run the application on your iOS device or simulator.
- Upon launching the app, the current fasting state will be displayed at the top.
- Choose a fasting plan from the options provided.
- Tap the "Start fasting" button to begin a fasting period.
- The circular progress ring will indicate the progress of the fasting period.
- Tap the "End fast" button to conclude the fasting period when desired.
For any issues or inquiries, please open an issue on GitHub.
Contributions are welcome! If you'd like to contribute to this project, please follow these steps:
- Fork the repository.
- Create a new branch for your feature (
git checkout -b feature/your-feature
). - Commit your changes (
git commit -am 'Add new feature'
). - Push to the branch (
git push origin feature/your-feature
). - Create a new Pull Request.
This project is licensed under the MIT License.